Sha256: 7b7f8622d3aa34626a59c74faa3605fc32e89f93aa587c144ab6e0584bcbcce4

Contents?: true

Size: 552 Bytes

Versions: 3

Compression:

Stored size: 552 Bytes

Contents

# frozen_string_literal: true

require "dry/core/class_attributes"

module Dry
  module Configurable
    extend Core::ClassAttributes

    # Set to false to suppress deprecation warning when a setting default is provided as a
    # positional argument
    defines :warn_on_setting_positional_default
    warn_on_setting_positional_default true

    # Set to false to suppress deprecation warning when a setting constructor is provided
    # as a block
    defines :warn_on_setting_constructor_block
    warn_on_setting_constructor_block true
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dry-configurable-0.15.0 lib/dry/configurable/flags.rb
dry-configurable-0.14.0 lib/dry/configurable/flags.rb
dry-configurable-0.13.0 lib/dry/configurable/flags.rb