Sha256: 066f4ed4a0bdc4900f4c5428a72e18ea0fa109a7c959100a115778bcf4505348

Contents?: true

Size: 285 Bytes

Versions: 7

Compression:

Stored size: 285 Bytes

Contents

# -*- encoding : utf-8 -*-

class AddAceScript < Card::CoreMigration
  def up
    all_script = Card[:all].fetch :trait=>:script
    all_script.add_item "script: ace"
    all_script.save!
    
    Card.create! :name=>"script: ace",:codename=>"script_ace",:type=>"JavaScript"

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
card-1.15.4 db/migrate_core_cards/20141208162106_add_ace_script.rb
card-1.15.3 db/migrate_core_cards/20141208162106_add_ace_script.rb
card-1.15.2 db/migrate_core_cards/20141208162106_add_ace_script.rb
card-1.15.1 db/migrate_core_cards/20141208162106_add_ace_script.rb
card-1.15.0 db/migrate_core_cards/20141208162106_add_ace_script.rb
card-1.15.pre2 db/migrate_core_cards/20141208162106_add_ace_script.rb
card-1.15.pre db/migrate_core_cards/20141208162106_add_ace_script.rb