Method: Hanami::Web::Welcome#initialize

Defined in:
lib/hanami/web/welcome.rb

#initialize(app) ⇒ Welcome

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 Welcome.

Since:

  • 2.1.0



15
16
17
# File 'lib/hanami/web/welcome.rb', line 15

def initialize(app)
  @app = app
end