Method: Hanami::Config::Assets#initialize

Defined in:
lib/hanami/config/assets.rb

#initialize(**options) ⇒ Assets

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

Since:

  • 2.1.0

API:

  • private



43
44
45
46
47
48
49
# File 'lib/hanami/config/assets.rb', line 43

def initialize(*, **options)
  super()

  @base_config = Hanami::Assets::Config.new(**options)

  configure_defaults
end