class Elementary::Future
Public Instance Methods
method_missing(method, *params)
click to toggle source
Invoke undefined methods on the value of the future
E.g.
results = c.rpc.search(query) # sleep maxint results.each do |result| # work end
Which would really invoke:
results.value.each
# File lib/elementary/future.rb, line 17 def method_missing(method, *params) self.value.send(method, *params) end