Class: Devtools::Config::Yardstick
- Inherits:
-
Devtools::Config
- Object
- Devtools::Config
- Devtools::Config::Yardstick
- Defined in:
- lib/devtools/config.rb
Overview
Yardstick configuration
Constant Summary collapse
- FILE =
'yardstick.yml'.freeze
- OPTIONS =
%w[ threshold rules verbose path require_exact_threshold ].freeze
Constants inherited from Devtools::Config
Instance Attribute Summary
Attributes inherited from Devtools::Config
Instance Method Summary collapse
-
#options ⇒ Hash
private
Options hash that Yardstick understands.
Methods inherited from Devtools::Config
Constructor Details
This class inherits a constructor from Devtools::Config
Instance Method Details
#options ⇒ Hash
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Options hash that Yardstick understands
118 119 120 121 122 |
# File 'lib/devtools/config.rb', line 118 def OPTIONS.each_with_object({}) do |name, hash| hash[name] = raw.fetch(name, nil) end end |