Module: Ripar

Defined in:
lib/ripar.rb,
lib/ripar/version.rb

Overview

include this in a class/instance and put the calls that would have been chained in the block.

Defined Under Namespace

Classes: Combinder, Roller

Constant Summary collapse

VERSION =
"0.0.3"

Instance Method Summary collapse

Instance Method Details

#rive(&block) ⇒ Object

return the final value short, unique, unlikely to clash with other methods in Object if you want to monkey-patch.



10
11
12
# File 'lib/ripar.rb', line 10

def rive( &block )
  Roller.rive self, &block
end

#roller(&block) ⇒ Object

return the roller object containing the final value



15
16
17
# File 'lib/ripar.rb', line 15

def roller( &block )
  Roller.new self, &block
end