How can I find file extension in ru开发者_StackOverflow社区by ? Any example ?Try this => ext = File.extname(file_name)
精彩评论