Class: TheComments::Generators::ViewsGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- TheComments::Generators::ViewsGenerator
- Defined in:
- lib/generators/the_comments/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 19 20 21 |
# File 'lib/generators/the_comments/views_generator.rb', line 6 def self. <<-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_files ⇒ Object
23 24 25 |
# File 'lib/generators/the_comments/views_generator.rb', line 23 def copy_sortable_tree_files copy_gem_files end |