Class: TheSortableTree::Generators::ViewsGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/generators/the_sortable_tree/views_generator.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details



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.banner
"\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_filesObject



20
21
22
# File 'lib/generators/the_sortable_tree/views_generator.rb', line 20

def copy_sortable_tree_files
  copy_helper_files
end