Method: Object#as

Defined in:
lib/core_ext.rb

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

Yields:

  • (_self)

Yield Parameters:

  • _self (Object)

    the object that the method was called on



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

def as
  yield self
end