def transform(name, value)
      if respond_to?(name)
        send(name, value)
      elsif value.respond_to?(name)
        value.send(name)
      else
        value
      end
    end
def transform(name, value)
      if respond_to?(name)
        send(name, value)
      elsif value.respond_to?(name)
        value.send(name)
      else
        value
      end
    end
Transforms an output string by delegating to the given output function.

 If a registered modifier method is not found, then delegate to the given
 string function.

 If an invalid modifier function is given, returns the raw input string.

 @param [Symbol] name
 @param [String] value
 @return [String]