Class: Geri::CLI::Base
- Inherits:
-
Thor
- Object
- Thor
- Geri::CLI::Base
- Includes:
- Rails::Generators::Actions, Thor::Actions
- Defined in:
- lib/geri/cli/base.rb
Instance Method Summary collapse
Instance Method Details
#new(name) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/geri/cli/base.rb', line 10 def new(name) basepath = File.('../../../../', __FILE__) Rails::Generators::AppGenerator.start [name, '-m', "#{basepath}/template.rb" ] end |