Class: TheComments::Generators::ViewsGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/generators/the_comments/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
19
20
21
# File 'lib/generators/the_comments/views_generator.rb', line 6

def self.banner
<<-BANNER.chomp

USAGE: [bundle exec] rails g the_comments:views NAME

> rails g the_comments:views js
> rails g the_comments:views css
> rails g the_comments:views assets

> rails g the_comments:views views
> rails g the_comments:views helper

> rails g the_comments:views all

BANNER
end

Instance Method Details

#copy_sortable_tree_filesObject



23
24
25
# File 'lib/generators/the_comments/views_generator.rb', line 23

def copy_sortable_tree_files
  copy_gem_files
end