Method: CodeKeeper::Result#initialize
- Defined in:
- lib/code_keeper/result.rb
#initialize ⇒ Result
Returns a new instance of Result.
8 9 10 |
# File 'lib/code_keeper/result.rb', line 8 def initialize @scores = CodeKeeper.config.metrics.map { |key| [key, {}] }.to_h end |