Method: Muto::Muto#help

Defined in:
lib/deploy_scripts/muto.rb

#helpObject



86
87
88
89
90
91
92
93
94
95
96
# File 'lib/deploy_scripts/muto.rb', line 86

def help
  puts "\nExpected format:  muto [ruby_version]"
  puts "\nAvailable Versions are:"
  @commands.each do |command|
    puts "  #{command[:name]}#{command[:name].to_s.length <= 4 ? "\t\t" : "\t"}- #{command[:desc]}" unless command[:hidden]
  end

  # The bat file muto.bat will always output the current version of Ruby being

  # used by your system, so just adding this to make it read nice

  puts "\nCurrently using:"
end