class Spring::Client::Stop
Public Class Methods
Source
# File lib/spring/client/stop.rb, line 6 def self.description "Stop all Spring processes for this project." end
Public Instance Methods
Source
# File lib/spring/client/stop.rb, line 10 def call case env.stop when :stopped puts "Spring stopped." when :killed $stderr.puts "Spring did not stop; killing forcibly." when :not_running puts "Spring is not running" end end