Class: Object

Inherits:
BasicObject
Defined in:
lib/firecord/patch/as.rb

Instance Method Summary collapse

Instance Method Details

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

Yields:

  • (_self)

Yield Parameters:

  • _self (Object)

    the object that the method was called on



2
3
4
# File 'lib/firecord/patch/as.rb', line 2

def as
  yield self
end