class EacRubyUtils::CustomFormat::String

def with(source_object)

def with(source_object)
  r = string
  mapping.each do |key, method|
    r = r.gsub(/%#{::Regexp.quote(key)}/, source_object_value(source_object, method).to_s)
  end
  r.gsub('%%', '%')
end