class VCR::HTTPInteraction::HookAware
def filter!(text, replacement_text)
-
replacement_text
(#to_s
) -- the text to put in its place -
text
(#to_s
) -- the text to replace
def filter!(text, replacement_text) text, replacement_text = text.to_s, replacement_text.to_s return self if [text, replacement_text].any? { |t| t.empty? } filter_object!(self, text, replacement_text) end