Sha256: 5d7db83acb5fff73ef077e917eb33b88c432f8f4e3a378067b1c749ea58186af

Contents?: true

Size: 461 Bytes

Versions: 1

Compression:

Stored size: 461 Bytes

Contents

require "spring-jruby/version"

module Spring
  module Client
    class Stop < Command
      def self.description
        "Stop all spring processes for this project."
      end

      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
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spring-jruby-1.4.3 lib/spring-jruby/client/stop.rb