Class: RuboCop::RSpec::ConfigFormatter
- Inherits:
-
Object
- Object
- RuboCop::RSpec::ConfigFormatter
- Defined in:
- lib/rubocop/rspec/config_formatter.rb
Overview
Builds a YAML config file from two config hashes
Constant Summary collapse
- NAMESPACE =
'RSpec'.freeze
Instance Method Summary collapse
- #dump ⇒ Object
-
#initialize(config, descriptions) ⇒ ConfigFormatter
constructor
A new instance of ConfigFormatter.
Constructor Details
#initialize(config, descriptions) ⇒ ConfigFormatter
Returns a new instance of ConfigFormatter.
9 10 11 12 |
# File 'lib/rubocop/rspec/config_formatter.rb', line 9 def initialize(config, descriptions) @config = config @descriptions = descriptions end |