Class: HappySeed::Generators::StaticGenerator
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- HappySeed::Generators::StaticGenerator
- Includes:
- Thor::Actions
- Defined in:
- lib/generators/happy_seed/static/static_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/static_generator.rb', line 8 def generate_rails_plugin # source_root = File.expand_path('../templates', __FILE__) args.shift app_name = args.shift self.destination_root = app_name directory "." end |