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
47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'lib/ruby_raider.rb', line 47 def new(project_name) require_relative 'utilities/logo' RubyRaider::Logo.display params = [:parameters] if params params[:name] = project_name parsed_hash = params.transform_keys(&:to_sym) merge_skip_flags(parsed_hash) return InvokeGenerators.generate_framework(parsed_hash) end MenuGenerator.new(project_name). end |
#version ⇒ Object
65 66 67 |
# File 'lib/ruby_raider.rb', line 65 def version puts "The version is #{current_version}, happy testing!" end |