Module: Jp::Server::ConfigurationLoader
- Defined in:
- lib/rb/jp/server/configuration_loader.rb
Class Method Summary collapse
Class Method Details
.server_config ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/rb/jp/server/configuration_loader.rb', line 9 def self.server_config name = config_file('jp-config') if name =~ /.ya?ml$/ load_yaml_config_file(name) else load_ruby_config_file(name) end end |