Class: Object

Inherits:
BasicObject
Defined in:
lib/mutter/ext.rb

Instance Method Summary collapse

Instance Method Details

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

Yields:

  • (_self)

Yield Parameters:

  • _self (Object)

    the object that the method was called on



31
32
33
34
# File 'lib/mutter/ext.rb', line 31

def tap
  yield self
  self
end