Class: Dashing::Generators::WidgetGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- Dashing::Generators::WidgetGenerator
- Defined in:
- lib/generators/dashing/widget_generator.rb
Instance Method Summary collapse
Instance Method Details
#widget ⇒ Object
9 10 11 12 13 |
# File 'lib/generators/dashing/widget_generator.rb', line 9 def template 'widgets/new.html', Dashing.config..join("#{file_name}.html") template 'widgets/new.scss', Dashing.config..join('widgets', "#{file_name}.scss") template 'widgets/new.coffee', Dashing.config..join('widgets', "#{file_name}.coffee") end |