Class: RubyRaider::Raider
- Inherits:
-
Thor
- Object
- Thor
- RubyRaider::Raider
- Defined in:
- lib/ruby_raider.rb
Instance Method Summary collapse
Instance Method Details
#new(project_name) ⇒ Object
27 28 29 30 31 32 33 34 35 36 |
# File 'lib/ruby_raider.rb', line 27 def new(project_name) params = [:parameters] if params params[:name] = project_name parsed_hash = params.transform_keys(&:to_sym) return InvokeGenerators.generate_framework(parsed_hash) end MenuGenerator.new(project_name). end |
#version ⇒ Object
42 43 44 |
# File 'lib/ruby_raider.rb', line 42 def version puts "The version is #{current_version}, happy testing!" end |