Class: RSpec::DescriptionConsistency::Configuration
- Inherits:
-
Object
- Object
- RSpec::DescriptionConsistency::Configuration
- Includes:
- Singleton
- Defined in:
- lib/rspec/description_consistency/configuration.rb
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#exit_code ⇒ Object
Returns the value of attribute exit_code.
-
#output_stream ⇒ Object
Returns the value of attribute output_stream.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
13 14 15 16 17 |
# File 'lib/rspec/description_consistency/configuration.rb', line 13 def initialize @exit_code = 0 @enabled = true @output_stream = RSpec.configuration.output_stream end |
Instance Attribute Details
#enabled ⇒ Object
Returns the value of attribute enabled.
11 12 13 |
# File 'lib/rspec/description_consistency/configuration.rb', line 11 def enabled @enabled end |
#exit_code ⇒ Object
Returns the value of attribute exit_code.
11 12 13 |
# File 'lib/rspec/description_consistency/configuration.rb', line 11 def exit_code @exit_code end |
#output_stream ⇒ Object
Returns the value of attribute output_stream.
11 12 13 |
# File 'lib/rspec/description_consistency/configuration.rb', line 11 def output_stream @output_stream end |