Method: Hanami::Config#app_name
- Defined in:
- lib/hanami/config.rb
permalink #app_name ⇒ Hanami::SliceName (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.
Returns the app or slice’s slice_name.
This is useful for default config values that depend on this name.
195 196 197 |
# File 'lib/hanami/config.rb', line 195 def app_name @app_name end |