Method: Parse::CollectionProxy#+
- Defined in:
- lib/parse/model/associations/collection_proxy.rb
#+(other_ary) ⇒ Array
Alias Array Concatenation. Returns a new array built by concatenating the two arrays together to produce a third array.
209 210 211 |
# File 'lib/parse/model/associations/collection_proxy.rb', line 209 def +(other_ary) collection + [other_ary].flatten.to_a end |