class ZRB::HTMLBuffer

Public Instance Methods

escape(other) click to toggle source
# File lib/zrb.rb, line 187
def escape(other)
  if other.respond_to?(:to_html)
    other.to_html
  else
    CGI.escape_html(other.to_s)
  end
end
to_html() click to toggle source
# File lib/zrb.rb, line 185
def to_html; self end