Class: HammerCLIExperimental::FullHelpCommand
- Inherits:
-
HammerCLI::AbstractCommand
- Object
- HammerCLI::AbstractCommand
- HammerCLIExperimental::FullHelpCommand
- Defined in:
- lib/hammer_cli_experimental/full_help.rb
Defined Under Namespace
Classes: MDAdapter, TxtAdapter
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
7 8 9 10 11 12 |
# File 'lib/hammer_cli_experimental/full_help.rb', line 7 def execute @adapter = option_md? ? MDAdapter.new : TxtAdapter.new print_heading print_help HammerCLI::EX_OK end |