Class: Card::FileCardCreator::ScriptCard
- Inherits:
-
AbstractFileCard
- Object
- AbstractFileCard
- Card::FileCardCreator::ScriptCard
- Defined in:
- lib/card/tasks/card/file_card_creator/script_card.rb
Overview
Move javascript or coffeescript from the card database to a file. It generates three files:
1. a migration file that ensures the card has a codename and adds it to the
script rule card.
2. a script file with the source code
3. a ruby file (=code rule) that ties the script file to the card
Method Summary
Methods inherited from AbstractFileCard
#category, #create, #initialize, valid_type?
Methods included from AbstractFileCard::RubyFile
Methods included from AbstractFileCard::MigrationFile
Methods included from AbstractFileCard::SourceFile
Methods included from OutputHelper
#color_puts, #execute_and_log_file_action, #log_file_action, #log_file_exists, #write_at, #write_to_mod
Constructor Details
This class inherits a constructor from Card::FileCardCreator::AbstractFileCard