class Rummager::ContainerStopTask
Public Class Methods
new(task_name, app)
click to toggle source
Calls superclass method
# File lib/rummager/containers.rb, line 198 def initialize(task_name, app) super(task_name,app) @actions << Proc.new { puts "Stopping #{@container_name}" if Rake.verbose == true docker_obj.stop } end
Public Instance Methods
needed?()
click to toggle source
# File lib/rummager/containers.rb, line 190 def needed? if has_container? docker_obj.json['State']['Running'] == true else false end end