anchor.diff:  <% elsif @udp_options.is_a?(Array) -%>
   <% @udp_options.each do |option| -%>
   [[udp]]
  -<% option.each do |key, val| -%>
  +<% option.keys.sort.each do |key| 
  + val = @option[key]
  +  -%>
   <% if val =~ /^(true|false|[0-9]+)$/ or val.is_a?(TrueClass) or val.is_a?(FalseClass) or val.is_a?(Fixnum) -%>
     <%=key %> = <%=val %>
   <% else -%>
  
positive.code: <% if @graphite_options and ! @graphite_options.empty? -%>
  <% if @graphite_options.is_a?(Hash) -%>
  [[graphite]]
  <% @graphite_options.each do |key, val| -%>
  <% if key == 'templates' and val.is_a?(Array) -%>
    templates = [
    <%- val.each do |template| -%>
      "<%=template %>",
  
negative.code: <% elsif @opentsdb_options.is_a?(Array) -%>
  <% @opentsdb_options.each do |option| -%>
  [opentsdb]
  <% option.keys.sort.each do |key|
     val = @option[key]
    -%>
  <% if val =~ /^(true|false|[0-9]+)$/ or val.is_a?(TrueClass) or val.is_a?(FalseClass) or val.is_a?(Fixnum) -%>
    <%=key %> = <%=val %>
  <% else -%>
  