Class: Hanami::Configuration::App
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Hanami::Configuration::App
- Defined in:
- lib/hanami/configuration.rb
Instance Attribute Summary collapse
-
#path_prefix ⇒ Object
readonly
Returns the value of attribute path_prefix.
Instance Method Summary collapse
-
#initialize(app, path_prefix) ⇒ App
constructor
A new instance of App.
Constructor Details
#initialize(app, path_prefix) ⇒ App
Returns a new instance of App.
12 13 14 15 |
# File 'lib/hanami/configuration.rb', line 12 def initialize(app, path_prefix) super(app) @path_prefix = path_prefix end |
Instance Attribute Details
#path_prefix ⇒ Object (readonly)
Returns the value of attribute path_prefix.
10 11 12 |
# File 'lib/hanami/configuration.rb', line 10 def path_prefix @path_prefix end |