Class: DateWrapper::Generators::StylesheetsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- DateWrapper::Generators::StylesheetsGenerator
- Defined in:
- lib/generators/date_wrapper/stylesheets_generator.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(*args, &block) ⇒ StylesheetsGenerator
constructor
A new instance of StylesheetsGenerator.
Constructor Details
#initialize(*args, &block) ⇒ StylesheetsGenerator
Returns a new instance of StylesheetsGenerator.
15 16 17 18 |
# File 'lib/generators/date_wrapper/stylesheets_generator.rb', line 15 def initialize(*args, &block) super generate_stylesheets end |
Class Method Details
.source_root ⇒ Object
11 12 13 |
# File 'lib/generators/date_wrapper/stylesheets_generator.rb', line 11 def self.source_root File.(File.join(File.dirname(__FILE__), '../../../app/assets/stylesheets')) end |