Sha256: 739843fcf25fc990c662f3d46ebd927cce34e060c389bec7f5be1045c52d2f4e

Contents?: true

Size: 285 Bytes

Versions: 5

Compression:

Stored size: 285 Bytes

Contents

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

class AddAceScript < Wagn::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

5 entries across 5 versions & 1 rubygems

Version Path
wagn-1.14.9 db/migrate_core_cards/20141208162106_add_ace_script.rb
wagn-1.14.8 db/migrate_core_cards/20141208162106_add_ace_script.rb
wagn-1.14.7 db/migrate_core_cards/20141208162106_add_ace_script.rb
wagn-1.14.6 db/migrate_core_cards/20141208162106_add_ace_script.rb
wagn-1.14.5 db/migrate_core_cards/20141208162106_add_ace_script.rb