Class: Apotomo::Generators::WidgetGenerator

Inherits:
Cells::Generators::Base
  • Object
show all
Includes:
BasePathMethods
Defined in:
lib/generators/apotomo/widget_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_cell_fileObject


23
24
25
# File 'lib/generators/apotomo/widget_generator.rb', line 23

def create_cell_file
  template 'widget.rb', "#{base_path}_widget.rb"
end