Class: Keystorage::Command::Help

Inherits:
Base
  • Object
show all
Defined in:
lib/keystorage/command/help.rb

Class Method Summary collapse

Methods inherited from Base

help, #initialize

Constructor Details

This class inherits a constructor from Keystorage::Command::Base

Class Method Details

.run(argv, options) ⇒ Object



7
8
9
10
# File 'lib/keystorage/command/help.rb', line 7

def run(argv,options)
  cmd = argv.shift
  puts Command.const_get(cmd.capitalize).help
end