Method: Origin::Extensions::Object#__add__
- Defined in:
- lib/origin/extensions/object.rb
#__add__(object) ⇒ Object
Combine the two objects using the add strategy.
18 19 20 |
# File 'lib/origin/extensions/object.rb', line 18 def __add__(object) (object == self) ? self : [ self, object ].flatten.uniq end |