Sha256: 4c673140da5d82b480fa380004e7e84e0ebdbd59b1a8ae18e32933f377403d6b
Contents?: true
Size: 522 Bytes
Versions: 16
Compression:
Stored size: 522 Bytes
Contents
# frozen_string_literal: true module Dry module Configurable # Methods meant to be used in a testing scenario module TestInterface # Resets configuration to default values # # @return [Dry::Configurable::Config] # # @api public def reset_config @config = config.pristine end end # Mixes in test interface into the configurable module # # @api public def enable_test_interface extend Dry::Configurable::TestInterface end end end
Version data entries
16 entries across 16 versions & 2 rubygems