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
<<-BANNER.chomp

bundle exec rails g the_sortable_tree:views tree
bundle exec rails g the_sortable_tree:views sortable
bundle exec rails g the_sortable_tree:views nested_options

bundle exec rails g the_sortable_tree:views helper

bundle exec rails g the_sortable_tree:views assets

BANNER
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