module RestClient module Jogger module Filters class Xml < Base private def filter_data(filter) data.gsub! /<#{filter}>(.*)<\/#{filter}>/, %{<#{filter}>#{filter_replacement}} end end end end end