instance method
calculate_code
Ruby on Rails edge
Since v8.0.5.1 Private — implementation detail, not part of the public APISignature
calculate_code()
No documentation comment.
Source
# File railties/lib/rails/code_statistics.rb, line 120
def calculate_code
code_loc = 0
@statistics.each { |k, v| code_loc += v.code_lines unless test_types.include? k }
code_loc
end
Defined in railties/lib/rails/code_statistics.rb line 120
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::CodeStatistics