Class: Hanami::Configuration::App Private
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Hanami::Configuration::App
- Defined in:
- lib/hanami/configuration/app.rb
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.
Instance Attribute Summary collapse
- #path_prefix ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(app, path_prefix) ⇒ App
constructor
private
A new instance of App.
Constructor Details
#initialize(app, path_prefix) ⇒ App
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 App.
12 13 14 15 |
# File 'lib/hanami/configuration/app.rb', line 12 def initialize(app, path_prefix) super(app) @path_prefix = path_prefix end |
Instance Attribute Details
#path_prefix ⇒ Object (readonly)
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.
9 10 11 |
# File 'lib/hanami/configuration/app.rb', line 9 def path_prefix @path_prefix end |