Class: Object

Inherits:
BasicObject
Defined in:
lib/matrix_sdk/util/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



5
6
7
# File 'lib/matrix_sdk/util/extensions.rb', line 5

def yield_self
  yield(self)
end