Sha256: 87555e6d45482f1cd181e8c59b0cd1b5d6c7f808b325742c5913ba1c013bfcde

Contents?: true

Size: 402 Bytes

Versions: 11

Compression:

Stored size: 402 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

      def finalize!(*)
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
hanami-2.2.1 lib/hanami/config/null_config.rb
hanami-2.2.0 lib/hanami/config/null_config.rb
hanami-2.2.0.rc1 lib/hanami/config/null_config.rb
hanami-2.2.0.beta2 lib/hanami/config/null_config.rb
hanami-2.2.0.beta1 lib/hanami/config/null_config.rb
hanami-2.1.0 lib/hanami/config/null_config.rb
hanami-2.1.0.rc3 lib/hanami/config/null_config.rb
hanami-2.1.0.rc2 lib/hanami/config/null_config.rb
hanami-2.1.0.rc1 lib/hanami/config/null_config.rb
hanami-2.1.0.beta2.1 lib/hanami/config/null_config.rb
hanami-2.1.0.beta2 lib/hanami/config/null_config.rb