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.
20 21 22 23 24 25 |
# File 'lib/vimget/commands/installed_command.rb', line 20 def initialize super("installed", "Display all installed scripts") [:installed] = true remove_option('--outdated') remove_option('--installed') end |
Instance Method Details
#usage ⇒ Object
27 28 29 |
# File 'lib/vimget/commands/installed_command.rb', line 27 def usage @program_name end |