Module: Kernel

Defined in:
lib/buildr/core/util.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

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

Yields:

  • (_self)

Yield Parameters:

  • _self (Kernel)

    the object that the method was called on



193
194
195
196
# File 'lib/buildr/core/util.rb', line 193

def tap
  yield self if block_given?
  self
end