Class: RubyRaider::Raider

Inherits:
Thor
  • Object
show all
Defined in:
lib/ruby_raider.rb

Instance Method Summary collapse

Instance Method Details

#new(project_name) ⇒ Object



11
12
13
# File 'lib/ruby_raider.rb', line 11

def new(project_name)
  MenuGenerator.new(project_name).generate_choice_menu
end

#versionObject



19
20
21
22
23
# File 'lib/ruby_raider.rb', line 19

def version
  spec = Gem::Specification.find_by_name('ruby_raider')
  version = spec.version
  puts "The Ruby Raider version is #{version}, Happy testing!"
end