class Spring::Client::Stop

Public Class Methods

description() click to toggle source
# File lib/spring/client/stop.rb, line 6
def self.description
  "Stop all spring processes for this project."
end

Public Instance Methods

call() click to toggle 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