module Shoulda::Matchers

def self.configuration

Other tags:
    Private: -
def self.configuration
  @_configuration ||= Configuration.new
end

def self.configure

Other tags:
    Private: -
def self.configure
  yield configuration
end

def self.integrations

Other tags:
    Private: -
def self.integrations
  configuration.integrations
end

def self.warn(message)

Other tags:
    Private: -
def self.warn(message)
  header = 'Warning from shoulda-matchers:'
  divider = '*' * TERMINAL_MAX_WIDTH
  wrapped_message = word_wrap(message)
  full_message = [
    divider,
    [header, wrapped_message.strip].join("\n\n"),
    divider,
  ].join("\n")
  Kernel.warn(full_message)
end

def self.warn_about_deprecated_method(old_method, new_method)

Other tags:
    Private: -
def self.warn_about_deprecated_method(old_method, new_method)
  warn <<EOT
d_method} is deprecated and will be removed in the next major
ase. Please use #{new_method} instead.
end