Class: Hanami::Configuration::App Private

Inherits:
SimpleDelegator
  • Object
show all
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

Instance Method Summary collapse

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_prefixObject (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