Sha256: c1ce4984695e85c3e7ae3aeb6474732456e4561d802762b4ffed5e5d9730dbb1

Contents?: true

Size: 418 Bytes

Versions: 1

Compression:

Stored size: 418 Bytes

Contents

# frozen_string_literal: true

require 'socket'

module  Chamber
module  Rails
class   Railtie < ::Rails::Railtie
  initializer 'chamber.load', before: :load_environment_config do
    Chamber.load(basepath:   ::Rails.root.join('config'),
                 namespaces: {
                   environment: -> { ::Rails.env },
                   hostname:    -> { Socket.gethostname },
                 })
  end
end
end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chamber-2.11.0 lib/chamber/rails/railtie.rb