Method: Spring::Application#state

Defined in:
lib/spring/application.rb

#state(val) ⇒ Object



20
21
22
23
24
# File 'lib/spring/application.rb', line 20

def state(val)
  return if exiting?
  log "#{@state} -> #{val}"
  @state = val
end