Class: Object

Inherits:
BasicObject
Defined in:
lib/yogo/support/object/apply.rb

Instance Method Summary collapse

Instance Method Details

#apply(&block) ⇒ Object



2
3
4
# File 'lib/yogo/support/object/apply.rb', line 2

def apply(&block)
  block.call(self)
end