Module: RDParser::ArrayExtensions

Defined in:
lib/patches/array.rb

Instance Method Summary collapse

Instance Method Details

#append_or_blend(i) ⇒ Object



4
5
6
# File 'lib/patches/array.rb', line 4

def append_or_blend(i)
  i.class == Hash ? self << i : self.concat(i)
end