script/gatherer/set.rb
def card_json
    multiverse_ids = Gatherer.scrape_multiverse_ids(name)
    Worker.distribute(multiverse_ids, GathererCard, :dump).flatten.compact # asynchronous
    # multiverse_ids.map{|id| GathererCard.dump(id)}.flatten.compact # synchronous
  end
# Dump each individual card for a given set.
Dump each individual card for a given set.
Dump each individual card for a given set .
def card_json
    multiverse_ids = Gatherer.scrape_multiverse_ids(name)
    Worker.distribute(multiverse_ids, GathererCard, :dump).flatten.compact 
  end
def card_json multiverse_ids = Gatherer . scrape_multiverse_ids ( name ) Worker . distribute ( multiverse_ids , GathererCard , :dump ) . flatten . compact end
Dump each individual card for a given set.
Dump each individual card for a given set .
# asynchronous # multiverse_ids.map{|id| GathererCard.dump(id)}.flatten.compact # synchronous