Method: CodeStats::FileSet#lines_count

Defined in:
lib/code_stats/file_set.rb

#lines_count(options = {}) ⇒ Object



6
7
8
9
10
# File 'lib/code_stats/file_set.rb', line 6

def lines_count options = {}
  total_count = 0
  lines_count_by_language(options).each{|lang, count| total_count += count}
  total_count
end