Class: Completion::Command::Top
- Inherits:
-
Samovar::Command
- Object
- Samovar::Command
- Completion::Command::Top
- Defined in:
- lib/completion/command/top.rb
Overview
The completion command-line interface.
Instance Method Summary collapse
-
#call ⇒ Object
Execute the selected completion sub-command.
Instance Method Details
#call ⇒ Object
Execute the selected completion sub-command.
33 34 35 36 37 38 39 |
# File 'lib/completion/command/top.rb', line 33 def call if @options[:help] self.print_usage else @command.call end end |