Class: Card::FileCardCreator::StyleCard

Inherits:
AbstractFileCard show all
Defined in:
lib/card/tasks/card/file_card_creator/style_card.rb

Overview

Move css or scss 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 style rule card.
  2. a style file with the source code
  3. a ruby file (=code rule) that ties the style file to the card

Method Summary

Methods inherited from AbstractFileCard

#category, #create, #initialize, valid_type?

Methods included from AbstractFileCard::RubyFile

#create_ruby_file

Methods included from AbstractFileCard::MigrationFile

#create_migration_file

Methods included from AbstractFileCard::SourceFile

#create_source_file

Methods included from OutputHelper

#color_puts, #log_file_action, #write_at, #write_to_mod

Constructor Details

This class inherits a constructor from Card::FileCardCreator::AbstractFileCard