Class: Redmine::Commands::List
- Inherits:
-
Object
- Object
- Redmine::Commands::List
- Defined in:
- lib/redmine/commands/list.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
16 17 18 |
# File 'lib/redmine/commands/list.rb', line 16 def execute Redmine::Commands::ListPrinter.new.print(results) end |
#results ⇒ Object
12 13 14 |
# File 'lib/redmine/commands/list.rb', line 12 def results parse(Redmine::Utils::System.new.execute_and_return('docker ps')) end |