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.



31
32
33
# File 'lib/switchman/parallel.rb', line 31

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

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



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

def name
  @name
end

Instance Method Details

#inspectObject



35
36
37
# File 'lib/switchman/parallel.rb', line 35

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