Class: ParallelRSpec::Example
- Inherits:
-
Struct
- Object
- Struct
- ParallelRSpec::Example
- Defined in:
- lib/parallel_rspec/example.rb
Overview
only the good bits of RSpec’s Example class, those needed by the reporters and formatters and marshallable.
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#exception ⇒ Object
Returns the value of attribute exception.
-
#id ⇒ Object
Returns the value of attribute id.
-
#location_rerun_argument ⇒ Object
Returns the value of attribute location_rerun_argument.
-
#metadata ⇒ Object
Returns the value of attribute metadata.
Class Method Summary collapse
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description
4 5 6 |
# File 'lib/parallel_rspec/example.rb', line 4 def description @description end |
#exception ⇒ Object
Returns the value of attribute exception
4 5 6 |
# File 'lib/parallel_rspec/example.rb', line 4 def exception @exception end |
#id ⇒ Object
Returns the value of attribute id
4 5 6 |
# File 'lib/parallel_rspec/example.rb', line 4 def id @id end |
#location_rerun_argument ⇒ Object
Returns the value of attribute location_rerun_argument
4 5 6 |
# File 'lib/parallel_rspec/example.rb', line 4 def location_rerun_argument @location_rerun_argument end |
#metadata ⇒ Object
Returns the value of attribute metadata
4 5 6 |
# File 'lib/parallel_rspec/example.rb', line 4 def @metadata end |
Class Method Details
.delegate_to_metadata(key) ⇒ Object
5 6 7 |
# File 'lib/parallel_rspec/example.rb', line 5 def self.(key) define_method(key) { [key] } end |