Class: RSpec::Core::Bisect::ExampleMinimizer::ExampleRange
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.12.0/lib/rspec/core/bisect/example_minimizer.rb
Overview
Convenience class for describing a subset of the candidate examples
Instance Attribute Summary collapse
-
#finish ⇒ Object
Returns the value of attribute finish.
-
#start ⇒ Object
Returns the value of attribute start.
Instance Method Summary collapse
Methods inherited from Struct
Instance Attribute Details
#finish ⇒ Object
Returns the value of attribute finish
94 95 96 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.12.0/lib/rspec/core/bisect/example_minimizer.rb', line 94 def finish @finish end |
#start ⇒ Object
Returns the value of attribute start
94 95 96 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.12.0/lib/rspec/core/bisect/example_minimizer.rb', line 94 def start @start end |
Instance Method Details
#description ⇒ Object
95 96 97 98 99 100 101 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.12.0/lib/rspec/core/bisect/example_minimizer.rb', line 95 def description if start == finish "example #{start}" else "examples #{start}-#{finish}" end end |