Class: Flatware::RSpec::Marshalable::Example
- Inherits:
-
Struct
- Object
- Struct
- Flatware::RSpec::Marshalable::Example
- Defined in:
- lib/flatware/rspec/marshalable/example.rb
Overview
a subset of the rspec example interface that can traverse drb
Instance Attribute Summary collapse
-
#metadata ⇒ Object
readonly
Returns the value of attribute metadata.
Instance Method Summary collapse
-
#initialize(rspec_example) ⇒ Example
constructor
A new instance of Example.
Constructor Details
#initialize(rspec_example) ⇒ Example
Returns a new instance of Example.
17 18 19 20 21 22 23 |
# File 'lib/flatware/rspec/marshalable/example.rb', line 17 def initialize(rspec_example) super(marshalable_execution_result(rspec_example.execution_result), *members[1..].map do |attribute| rspec_example.public_send(attribute) end) = (rspec_example.) end |
Instance Attribute Details
#metadata ⇒ Object (readonly)
Returns the value of attribute metadata.
25 26 27 |
# File 'lib/flatware/rspec/marshalable/example.rb', line 25 def end |