Class: VimGet::Commands::OutdatedCommand
- Inherits:
-
ListCommand
- Object
- BaseCommand
- ListCommand
- VimGet::Commands::OutdatedCommand
- Defined in:
- lib/vimget/commands/outdated_command.rb
Overview
List all outdated command
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 ⇒ OutdatedCommand
constructor
A new instance of OutdatedCommand.
- #usage ⇒ Object
Methods inherited from ListCommand
Methods inherited from BaseCommand
#arguments, #execute, #invoke, #show_help
Constructor Details
#initialize ⇒ OutdatedCommand
Returns a new instance of OutdatedCommand.
21 22 23 24 25 26 |
# File 'lib/vimget/commands/outdated_command.rb', line 21 def initialize super("outdated", "Display all outdated scripts") [:outdated] = true remove_option('--outdated') remove_option('--installed') end |
Instance Method Details
#usage ⇒ Object
28 29 30 |
# File 'lib/vimget/commands/outdated_command.rb', line 28 def usage @program_name end |