Module: DdSuppressor

Defined in:
lib/dd_suppressor.rb,
lib/dd_suppressor/version.rb

Defined Under Namespace

Classes: Error

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.prepended(base) ⇒ Object



7
8
9
10
11
12
13
14
15
# File 'lib/dd_suppressor.rb', line 7

def self.prepended(base)
  def base.warn(msg, tag: nil)
    case msg
    when "Form types were renamed to Params"
    else
      super(msg, tag: tag)
    end
  end
end