Sha256: 7c550c59db68be24370caa0b11f36b34aebd4799b7ff9625ffde8a07e792268d

Contents?: true

Size: 339 Bytes

Versions: 4

Compression:

Stored size: 339 Bytes

Contents

<%= config[:camel_cased_app_name] %>::Container.finalize :settings do |container|
  init do
    require "<%= config[:underscored_project_name] %>/settings"
  end

  start do
    settings = <%= config[:camel_cased_app_name] %>::Settings.load(container.config.root, container.config.env)
    container.register :settings, settings
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kanji-web-0.2.2 lib/kanji/templates/system/boot/settings.rb.tt
kanji-web-0.2.1 lib/kanji/templates/system/boot/settings.rb.tt
kanji-web-0.2.0 lib/kanji/templates/system/boot/settings.rb.tt
kanji-web-0.1.0 lib/kanji/templates/system/boot/settings.rb.tt