Method: CountVonCount::Stat#initialize

Defined in:
lib/count_von_count/stat.rb

#initialize(all = 0, loc = 0, methods = 0, modules = 0, classes = 0, comments = 0) ⇒ Stat

Returns a new instance of Stat.



39
40
41
42
43
44
45
46
# File 'lib/count_von_count/stat.rb', line 39

def initialize(all = 0, loc = 0, methods = 0, modules = 0, classes = 0, comments = 0)
  @all = all
  @loc = loc
  @methods = methods
  @modules = modules
  @classes = classes
  @comments = comments
end