class Ruboty::Gen::CLI
Public Class Methods
source_paths()
click to toggle source
# File lib/ruboty/gen/cli.rb, line 18 def self.source_paths [File.expand_path('../../../templates', __dir__)] end
start(*)
click to toggle source
Calls superclass method
# File lib/ruboty/gen/cli.rb, line 11 def self.start(*) super rescue Exception => e Bundler.ui = Bundler::UI::Shell.new raise e end
Public Instance Methods
gem(name, *actions)
click to toggle source
# File lib/ruboty/gen/cli.rb, line 24 def gem(name, *actions) actions = [name] if actions.size.zero? Bundler::CLI::Gem.new(options, "ruboty-#{name}", self).run Ruboty::Gen::Gem.new(options, name, actions, self).run end