Class: Card::FileCardCreator::HamlCard
- Inherits:
-
AbstractFileCard
- Object
- AbstractFileCard
- Card::FileCardCreator::HamlCard
- Defined in:
- lib/card/tasks/card/file_card_creator/haml_card.rb
Overview
Convert a card with html db content to a card with hard-coded haml. It generates three files:
1. a migration file that creates a card with codename
2. a haml file with the converted html
3. a ruby file (=code rule)that ties the haml 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