class Object

Constants

GEM_ROOT
LIB_ROOT
STATIC_ROOT
VIEW_ROOT

Public Instance Methods

set_config(file_name) click to toggle source
# File lib/server_status.rb, line 16
def set_config file_name
  ServerStatusConfig.source File.expand_path file_name
  ServerStatusApp.set :port, ServerStatusConfig.port
end