Module: Pipeable

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

Constant Summary collapse

VERSION =
"0.0.1"

Instance Method Summary collapse

Instance Method Details

#pipe {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Pipeable)

    the object that the method was called on



4
5
6
# File 'lib/pipeable.rb', line 4

def pipe(&block)
  yield self
end