Method: Megam::MarketPlaceCollection#<<

Defined in:
lib/megam/core/marketplace_collection.rb

#<<(*args) ⇒ Object Also known as: push



26
27
28
29
30
31
32
33
# File 'lib/megam/core/marketplace_collection.rb', line 26

def <<(*args)
  args.flatten.each do |a|
    is_megam_app(a)
    @apps << a
    @apps_by_name[a.flavor] = @apps.length - 1
  end
  self
end