Sha256: c9b315e8482ca2f78b1fa8397ab7b377b7ccb81dbead2cf9ef76cdb4bb937434
Contents?: true
Size: 459 Bytes
Versions: 3
Compression:
Stored size: 459 Bytes
Contents
require "ripar/version" require "ripar/roller" # include this in a class/instance and put the calls that # would have been chained in the block. module Ripar # return the final value # short, unique, unlikely to clash with other methods in Object # if you want to monkey-patch. def rive( &block ) Roller.rive self, &block end # return the roller object containing the final value def roller( &block ) Roller.new self, &block end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ripar-0.0.3 | lib/ripar.rb |
ripar-0.0.2 | lib/ripar.rb |
ripar-0.0.1 | lib/ripar.rb |