1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00
thoughtbot--shoulda-matchers/lib/shoulda/matchers/configuration.rb
2015-02-09 10:52:51 -07:00

20 lines
352 B
Ruby

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