method
file_type
v4.1.8 -
Show latest stable
- Class:
CodeStatisticsCalculator
file_type(file_path)private
No documentation available.
# 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