check(data)
click to toggle source
def check(data)
return data
end
output()
click to toggle source
def output
html = /^<([<|(^<)*<].*)>$/.match(@data.to_s)
if html != nil
"<#{html[1]}>"
else
@data.to_s.inspect.gsub( "\\\\", "\\" )
end
end
to_gv()
click to toggle source
to_ruby()
click to toggle source
to_s()
click to toggle source