# File lib/NativeFileType.rb, line 31 def NativeFileType.native_file_types_possible_on_file_system(file_system) candidates=[] NativeFileType.all_native_file_types.each do |native_file_type| candidates<<native_file_type if (native_file_type.file_system_file_types.keys.include?(file_system) ) && (native_file_type.file_system_file_types[file_system]!=:any) end candidates.sort {|a,b| a.to_s <=> b.to_s} end