Class: Switchman::Parallel::UndumpableResult

Inherits:
Object
  • Object
show all
Defined in:
lib/switchman/parallel.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(result) ⇒ UndumpableResult

Returns a new instance of UndumpableResult.



29
30
31
# File 'lib/switchman/parallel.rb', line 29

def initialize(result)
  @name = result.inspect
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



27
28
29
# File 'lib/switchman/parallel.rb', line 27

def name
  @name
end

Instance Method Details

#inspectObject



33
34
35
# File 'lib/switchman/parallel.rb', line 33

def inspect
  "#<UndumpableResult:#{name}>"
end