Top Level Namespace
Defined Under Namespace
Classes: ServerStatusApp, ServerStatusClient, ServerStatusConfig
Constant Summary collapse
- LIB_ROOT =
File. File.dirname(__FILE__)
- GEM_ROOT =
File. '..', LIB_ROOT
- STATIC_ROOT =
File. 'public', GEM_ROOT
- VIEW_ROOT =
File. 'views', GEM_ROOT
Instance Method Summary collapse
Instance Method Details
#set_config(file_name) ⇒ Object
16 17 18 19 |
# File 'lib/server_status.rb', line 16 def set_config file_name ServerStatusConfig.source File. file_name ServerStatusApp.set :port, ServerStatusConfig.port end |