class Geri::CLI::Base

Public Instance Methods

new(name) click to toggle source
# File lib/geri/cli/base.rb, line 10
def new(name)
  basepath = File.expand_path('../../../../', __FILE__)
  Rails::Generators::AppGenerator.start [name,
                                         '-m',
                                         "#{basepath}/template.rb"
                                        ]
end