method
add_by_file_path
v8.1.1 -
Show latest stable
- Class:
Rails::CodeStatisticsCalculator
add_by_file_path(file_path)public
No documentation available.
# File railties/lib/rails/code_statistics_calculator.rb, line 56
def add_by_file_path(file_path)
File.open(file_path) do |f|
add_by_io(f, file_type(file_path))
end
end