Class: VimGet::Commands::InstalledCommand
- Inherits:
-
ListCommand
- Object
- BaseCommand
- ListCommand
- VimGet::Commands::InstalledCommand
- Defined in:
- lib/vimget/commands/installed_command.rb
Constant Summary
Constants inherited from BaseCommand
Instance Attribute Summary
Attributes inherited from BaseCommand
#command, #defaults, #options, #options_group, #program_name, #summary
Instance Method Summary collapse
-
#initialize ⇒ InstalledCommand
constructor
A new instance of InstalledCommand.
- #usage ⇒ Object
Methods inherited from ListCommand
Methods inherited from BaseCommand
#arguments, #execute, #invoke, #show_help
Constructor Details
#initialize ⇒ InstalledCommand
Returns a new instance of InstalledCommand.
21 22 23 24 25 26 |
# File 'lib/vimget/commands/installed_command.rb', line 21 def initialize super("installed", "Display all installed scripts") [:installed] = true remove_option('--outdated') remove_option('--installed') end |
Instance Method Details
#usage ⇒ Object
28 29 30 |
# File 'lib/vimget/commands/installed_command.rb', line 28 def usage @program_name end |