| Module | Origin::Extensions::Object |
| In: |
lib/origin/extensions/object.rb
|
This module contains additional object behaviour.
Get the object as an array.
@example Get the object as an array.
4.__array__
@return [ Array ] The wrapped object.
@since 1.0.0
Deep copy the object. This is for API compatibility, but needs to be overridden.
@example Deep copy the object.
1.__deep_copy__
@return [ Object ] self.
@since 1.0.0
Get the object as expanded.
@example Get the object expanded.
obj.__expand_complex__
@return [ Object ] self.
@since 1.0.5