class Object
Object
is the default root of all Ruby objects
Object
inherits from BasicObject which allows creating alternate object hierarchies. Methods on Object
are available to all classes (unless explicitly overridden).
Public Instance Methods
yield_self() { |self| ... }
click to toggle source
Yields self to the block and returns the result of the block.
@return [Object] @see ruby-doc.org/core-2.5.0/Object.html#method-i-yield_self
# File lib/kamaze/project/core_ext/object.rb, line 31 def yield_self yield(self) end