Class: TheSortableTree::Generators::ViewsGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- TheSortableTree::Generators::ViewsGenerator
- Defined in:
- lib/generators/the_sortable_tree/views_generator.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.banner ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/generators/the_sortable_tree/views_generator.rb', line 6 def self. "\nbundle exec rails g the_sortable_tree:views tree\nbundle exec rails g the_sortable_tree:views sortable\nbundle exec rails g the_sortable_tree:views nested_options\n\nbundle exec rails g the_sortable_tree:views helper\n\nbundle exec rails g the_sortable_tree:views assets\n\n".chomp end |
Instance Method Details
#copy_sortable_tree_files ⇒ Object
20 21 22 |
# File 'lib/generators/the_sortable_tree/views_generator.rb', line 20 def copy_sortable_tree_files copy_helper_files end |