Class: Flatware::RSpec::Marshalable::Example

Inherits:
Struct
  • Object
show all
Defined in:
lib/flatware/rspec/marshalable/example.rb

Overview

a subset of the rspec example interface that can traverse drb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#metadataObject (readonly)

Returns the value of attribute metadata.



25
26
27
# File 'lib/flatware/rspec/marshalable/example.rb', line 25

def 
  
end