Method: MetricFu::Flog::Page#to_h

Defined in:
lib/generators/flog.rb

#to_hObject



158
159
160
161
162
163
164
# File 'lib/generators/flog.rb', line 158

def to_h
  {:score => @score, 
   :scanned_methods => @scanned_methods.map {|sm| sm.to_h},
   :highest_score => highest_score,
   :average_score => average_score,
   :path => path}
end