How to get all file types in ruby

I hope make a inRuby meth to determine current file is ruby file

0
1 comment

file.getFileType() == FileTypeManager.getInstance().getFileTypeByExtension("rb")

0

Please sign in to leave a comment.