Class: Lotus::Loader Private
- Inherits:
-
Object
- Object
- Lotus::Loader
- Defined in:
- lib/lotus/loader.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Load an application
Constant Summary collapse
- STRICT_TRANSPORT_SECURITY_HEADER =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
'Strict-Transport-Security'.freeze
- STRICT_TRANSPORT_SECURITY_DEFAULT_VALUE =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
'max-age=31536000'.freeze
Instance Method Summary collapse
-
#initialize(application) ⇒ Loader
constructor
private
A new instance of Loader.
- #load! ⇒ Object private
Constructor Details
#initialize(application) ⇒ Loader
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Loader.
20 21 22 23 24 25 |
# File 'lib/lotus/loader.rb', line 20 def initialize(application) @application = application @configuration = @application.configuration @mutex = Mutex.new end |
Instance Method Details
#load! ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
27 28 29 30 31 32 33 34 35 |
# File 'lib/lotus/loader.rb', line 27 def load! @mutex.synchronize do load_configuration! configure_frameworks! load_configuration_load_paths! load_rack! load_frameworks! end end |