class Pennyworth::ShutdownCommand
Public Instance Methods
execute(name)
click to toggle source
# File lib/pennyworth/commands/shutdown_command.rb, line 20 def execute(name) runner = ImageRunner.new(name) VM.new(runner).stop rescue log "Could not shutdown image #{runner.name}. Was it running?" end