Class: Falcon::Configuration
- Inherits:
-
Async::Service::Configuration
- Object
- Async::Service::Configuration
- Falcon::Configuration
- Defined in:
- lib/falcon/configuration.rb
Overview
Manages environments which describes how to host a specific application.
Environments are key-value maps with lazy value resolution. An environment can inherit from a parent environment, which can provide defaults
A typical configuration file might look something like:
~~~ ruby #!/usr/bin/env falcon-host # frozen_string_literal: true
load :rack, :self_signed_tls, :supervisor
supervisor
rack ‘hello.localhost’, :self_signed_tls do end ~~~
Defined Under Namespace
Classes: Loader
Instance Method Summary collapse
-
#load_file(path) ⇒ Object
Load the specified configuration file.
Instance Method Details
#load_file(path) ⇒ Object
Load the specified configuration file. See #load_file for more details.
30 31 32 |
# File 'lib/falcon/configuration.rb', line 30 def load_file(path) Loader.load_file(self, path) end |