36 37 38 39 40 41 42
# File 'lib/delayer/deferred.rb', line 36 def Promise @promise ||= begin the_delayer = self Class.new(::Delayer::Deferred::Promise) { define_singleton_method(:delayer) { the_delayer } } end end