module Warning
Public Class Methods
warn(w)
click to toggle source
Hide the annoying warnings from Declarative gem. Need to upgrade Representable.
Calls superclass method
# File lib/pact_broker/logging.rb, line 67 def Warning.warn(w) # super calls the original behavior, which is printing to $stderr super unless (w.start_with?("[Declarative] Defaults#merge!") || w.include?("URI.unescape is obsolete")) end