Class: Rspec::Rotten::Configuration
- Inherits:
-
Object
- Object
- Rspec::Rotten::Configuration
- Includes:
- Singleton
- Defined in:
- lib/rspec/rotten/configuration.rb
Class Attribute Summary collapse
-
.results_file ⇒ Object
Returns the value of attribute results_file.
-
.time_to_rotten ⇒ Object
Returns the value of attribute time_to_rotten.
Class Method Summary collapse
Class Attribute Details
.results_file ⇒ Object
Returns the value of attribute results_file.
9 10 11 |
# File 'lib/rspec/rotten/configuration.rb', line 9 def results_file @results_file end |
.time_to_rotten ⇒ Object
Returns the value of attribute time_to_rotten.
9 10 11 |
# File 'lib/rspec/rotten/configuration.rb', line 9 def time_to_rotten @time_to_rotten end |
Class Method Details
.configure {|_self| ... } ⇒ Object
11 12 13 |
# File 'lib/rspec/rotten/configuration.rb', line 11 def configure yield self end |
.register_formatter ⇒ Object
15 16 17 18 19 |
# File 'lib/rspec/rotten/configuration.rb', line 15 def register_formatter RSpec.configure do |config| config.add_formatter(Rspec::Rotten::Formatters::RottenReportFormatter) end end |