class EacRubyUtils::CustomFormat::String

def source_object_value(object, method)

def source_object_value(object, method)
  return object.send(method) if object.respond_to?(method)
  return object[method] if object.respond_to?('[]')
  raise ::ArgumentError, "Methods \"#{method}\" or \"[]\" not found for #{object}"
end