method

file_type

Importance_0
file_type(file_path) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/code_statistics_calculator.rb, line 76
    def file_type(file_path)
      File.extname(file_path).sub(/\A\./, '').downcase.to_sym
    end
Register or log in to add new notes.