Method: Sinatra::Base.running?

Defined in:
lib/sinatra/base.rb

.running?Boolean

Check whether the self-hosted server is running or not.

Returns:

  • (Boolean)


1649
1650
1651
# File 'lib/sinatra/base.rb', line 1649

def running?
  running_server?
end