Class: Teapot::Command::List
- Inherits:
-
Samovar::Command
- Object
- Samovar::Command
- Teapot::Command::List
- Defined in:
- lib/teapot/command.rb
Instance Method Summary collapse
Instance Method Details
#invoke(parent) ⇒ Object
103 104 105 106 107 108 109 |
# File 'lib/teapot/command.rb', line 103 def invoke(parent) if @packages.any? only = Set.new(@packages) end parent.controller.list(only) end |