Module: Continuable

Defined in:
lib/continuable/continuable.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



2
3
4
# File 'lib/continuable/continuable.rb', line 2

def self.included(base)
	base.send(:attr_accessor,:continuation)
end

Instance Method Details

#continueObject



6
7
8
# File 'lib/continuable/continuable.rb', line 6

def continue
	continuation.call
end