Method: Ccrpc::Promise#marshal_load
- Defined in:
- lib/ccrpc/lazy.rb
#marshal_load(str) ⇒ Object
108 109 110 111 112 |
# File 'lib/ccrpc/lazy.rb', line 108 def marshal_load( str ) @mutex = Mutex.new ( @exception, @result ) = Marshal.load( str ) @computation = DIVERGES if @exception end |