55 56 57 58 59
# File 'railties/lib/rails/code_statistics_calculator.rb', line 55 def add_by_file_path(file_path) File.open(file_path) do |f| add_by_io(f, file_type(file_path)) end end