module BlueprintAgreement::Config

Public Class Methods

configure(&block) click to toggle source
# File lib/blueprint_agreement.rb, line 56
def configure(&block)
  warn "[DEPRECATION] `BlueprintAgreement::Config` is deprecated.  Please use `BlueprintAgreement.configuration` instead."
  BlueprintAgreement.configure(&block)
end
method_missing(name, *args) click to toggle source
Calls superclass method
# File lib/blueprint_agreement.rb, line 61
def method_missing(name, *args)
  warn "[DEPRECATION] `BlueprintAgreement::Config` methods are  deprecated.  Please use `BlueprintAgreement.configuration` instead."
  configuration = BlueprintAgreement.configuration;
  return configuration.send(name) if name.to_s =~ /^(\w*)$/
  return configuration.send(name, *args)  if name.to_s =~ /^(\w*)=$/
  super
end