Method: Spring::Client::Stop#call
- Defined in:
- lib/spring/client/stop.rb
#call ⇒ Object
10 11 12 13 14 15 16 17 18 19 |
# 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 |