Sha256: f47e78d9bddd91c6e79c1dd619a9fa1c6c81c5987a432ed96284e17dd2591eac

Contents?: true

Size: 368 Bytes

Versions: 7

Compression:

Stored size: 368 Bytes

Contents

# frozen_string_literal: true

require "dry/configurable"

module Hanami
  class Config
    # NullConfig can serve as a fallback config object when out-of-gem config objects are not
    # available (specifically, when the hanami-controller, hanami-router or hanami-view gems are not
    # loaded)
    class NullConfig
      include Dry::Configurable
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hanami-2.1.0.beta1 lib/hanami/config/null_config.rb
hanami-2.0.3 lib/hanami/config/null_config.rb
hanami-2.0.2 lib/hanami/config/null_config.rb
hanami-2.0.1 lib/hanami/config/null_config.rb
hanami-2.0.0 lib/hanami/config/null_config.rb
hanami-2.0.0.rc1 lib/hanami/config/null_config.rb
hanami-2.0.0.beta4 lib/hanami/config/null_config.rb