module Delayer::Deferred
Constants
- Deferred
- Error
- MultipleAssignmentError
- ResultContainer
- SequenceError
- VERSION
Attributes
debug[RW]
真ならデバッグ情報を集める
Public Class Methods
method_missing(*rest, **kwrest, &block)
click to toggle source
# File lib/delayer/deferred.rb, line 21 def method_missing(*rest, **kwrest, &block) if kwrest.empty? Delayer::Deferred::Promise.__send__(*rest, &block) else Delayer::Deferred::Promise.__send__(*rest, **kwrest, &block) end end
new(*rest, name: caller_locations(1,1).first.to_s, &block)
click to toggle source
Calls superclass method
# File lib/delayer/deferred.rb, line 17 def new(*rest, name: caller_locations(1,1).first.to_s, &block) super(*rest, name: name, &block) end
respond_to_missing?(symbol, include_private)
click to toggle source
# File lib/delayer/deferred.rb, line 29 def respond_to_missing?(symbol, include_private) Delayer::Deferred::Promise.respond_to?(symbol, include_private) end