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