Class: HappySeed::Generators::StaticBlogGenerator
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- HappySeed::Generators::StaticBlogGenerator
- Includes:
- Thor::Actions
- Defined in:
- lib/generators/happy_seed/static_blog/static_blog_generator.rb
Instance Method Summary collapse
Instance Method Details
#generate_rails_plugin ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/generators/happy_seed/static_blog/static_blog_generator.rb', line 8 def generate_rails_plugin source_root = File.('../templates', __FILE__) args.shift app_name = args.shift self.destination_root = app_name directory "." end |