Class: RSpec::DescriptionConsistency::Configuration

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/rspec/description_consistency/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#enabledObject

Returns the value of attribute enabled.



11
12
13
# File 'lib/rspec/description_consistency/configuration.rb', line 11

def enabled
  @enabled
end

#exit_codeObject

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_streamObject

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