Class: Apotomo::Generators::WidgetGenerator
- Inherits:
-
Cells::Generators::Base
- Object
- Cells::Generators::Base
- Apotomo::Generators::WidgetGenerator
- Defined in:
- lib/generators/apotomo/widget_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_cell_file ⇒ Object
8 9 10 |
# File 'lib/generators/apotomo/widget_generator.rb', line 8 def create_cell_file template 'widget.rb', File.join('app/widgets', class_path, "#{file_name}_widget.rb") end |