Class: Hotdog::Commands::Help
- Inherits:
-
BaseCommand
- Object
- BaseCommand
- Hotdog::Commands::Help
- Defined in:
- lib/hotdog/commands/help.rb
Constant Summary
Constants inherited from BaseCommand
Instance Attribute Summary
Attributes inherited from BaseCommand
#application, #logger, #options
Instance Method Summary collapse
Methods inherited from BaseCommand
#execute, #fixed_string?, #initialize
Constructor Details
This class inherits a constructor from Hotdog::Commands::BaseCommand
Instance Method Details
#run(args = []) ⇒ Object
8 9 10 11 |
# File 'lib/hotdog/commands/help.rb', line 8 def run(args=[]) ruby = File.join(RbConfig::CONFIG["bindir"], RbConfig::CONFIG["ruby_install_name"]) exit(system(ruby, $0, "--help") ? 0 : 1) end |