Sha256: 9d05c6ea6a05162de6cf085b921ea621c9cf5b4c60d9e6d8969e8a03645dceb5

Contents?: true

Size: 352 Bytes

Versions: 9

Compression:

Stored size: 352 Bytes

Contents

module Shoulda
  module Matchers
    # @private
    def self.configure
      yield configuration
    end

    # @private
    def self.configuration
      @_configuration ||= Configuration.new
    end

    # @private
    class Configuration
      def integrate(&block)
        Integrations::Configuration.apply(self, &block)
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
shoulda-matchers-4.0.1 lib/shoulda/matchers/configuration.rb
shoulda-matchers-3.1.3 lib/shoulda/matchers/configuration.rb
shoulda-matchers-4.0.0.rc1 lib/shoulda/matchers/configuration.rb
shoulda-matchers-3.1.2 lib/shoulda/matchers/configuration.rb
shoulda-matchers-3.1.1 lib/shoulda/matchers/configuration.rb
shoulda-matchers-3.1.0 lib/shoulda/matchers/configuration.rb
shoulda-matchers-3.0.1 lib/shoulda/matchers/configuration.rb
shoulda-matchers-3.0.0 lib/shoulda/matchers/configuration.rb
shoulda-matchers-3.0.0.rc1 lib/shoulda/matchers/configuration.rb