class SpringStandalone::Client::Server
Public Class Methods
description()
click to toggle source
# File lib/spring_standalone/client/server.rb, line 4 def self.description "Explicitly start a SpringStandalone server in the foreground" end
Public Instance Methods
call()
click to toggle source
# File lib/spring_standalone/client/server.rb, line 8 def call require "spring_standalone/server" SpringStandalone::Server.boot(foreground: foreground?) end
foreground?()
click to toggle source
# File lib/spring_standalone/client/server.rb, line 13 def foreground? !args.include?("--background") end