Class: Completion::Command::Top

Inherits:
Samovar::Command
  • Object
show all
Defined in:
lib/completion/command/top.rb

Overview

The completion command-line interface.

Instance Method Summary collapse

Instance Method Details

#callObject

Execute the selected completion sub-command.



35
36
37
38
39
40
41
# File 'lib/completion/command/top.rb', line 35

def call
	if @options[:help]
		self.print_usage
	else
		@command.call
	end
end