module Ripar
include this in a class/instance and put the calls that would have been chained in the block.
Constants
- VERSION
Public Instance Methods
rive( &block )
click to toggle source
return the final value short, unique, unlikely to clash with other methods in Object if you want to monkey-patch.
# File lib/ripar.rb, line 10 def rive( &block ) Roller.rive self, &block end
roller( &block )
click to toggle source
return the roller object containing the final value
# File lib/ripar.rb, line 15 def roller( &block ) Roller.new self, &block end