Class: Object

Inherits:
BasicObject
Defined in:
lib/matrix_sdk/extensions.rb

Instance Method Summary collapse

Instance Method Details

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

Yields:

  • (_self)

Yield Parameters:

  • _self (Object)

    the object that the method was called on



20
21
22
# File 'lib/matrix_sdk/extensions.rb', line 20

def yield_self
  yield(self)
end