lib/html-native/builder.rb
# Converts the Builder to a String. If the cache is valid, it is returned. 
# Otherwise, the new result is created, cached, and returned.
Converts the Builder to a String. If the cache is valid, it is returned.
Otherwise, the new result is created, cached, and returned.
Converts the Builder to a String . If the cache is valid it is returned . Otherwise the new result is created cached and returned .
def to_s
      unless @cached
        @cache << @strings.join
        @strings.clear
        @cached = true
      end
      @cache
    end
def to_s unless @cached @cache << @strings . join @strings . clear @cached = true end @cache end
Converts the Builder to a String.
Converts the Builder to a String .