method

add_by_file_path

rails latest stable - Class: Rails::CodeStatisticsCalculator

Method not available on this version

This method is only available on newer versions. The first available version (v8.0.0) is shown here.

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