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.
-
#example_group ⇒ Object
Returns the value of attribute example_group.
-
#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
6 7 8 |
# File 'lib/parallel_rspec/example.rb', line 6 def description @description end |
#example_group ⇒ Object
Returns the value of attribute example_group
6 7 8 |
# File 'lib/parallel_rspec/example.rb', line 6 def example_group @example_group end |
#exception ⇒ Object
Returns the value of attribute exception
6 7 8 |
# File 'lib/parallel_rspec/example.rb', line 6 def exception @exception end |
#id ⇒ Object
Returns the value of attribute id
6 7 8 |
# File 'lib/parallel_rspec/example.rb', line 6 def id @id end |
#location_rerun_argument ⇒ Object
Returns the value of attribute location_rerun_argument
6 7 8 |
# File 'lib/parallel_rspec/example.rb', line 6 def location_rerun_argument @location_rerun_argument end |
#metadata ⇒ Object
Returns the value of attribute metadata
6 7 8 |
# File 'lib/parallel_rspec/example.rb', line 6 def @metadata end |
Class Method Details
.delegate_to_metadata(key) ⇒ Object
7 8 9 |
# File 'lib/parallel_rspec/example.rb', line 7 def self.(key) define_method(key) { [key] } end |