Class: Hanami::Configuration::App

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/hanami/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

Returns the value of attribute path_prefix.



10
11
12
# File 'lib/hanami/configuration.rb', line 10

def path_prefix
  @path_prefix
end