Sha256: 6f78960134b534d63c6732184de477a04ecaa6f7d61722c5c45710db04e2cd30
Contents?: true
Size: 417 Bytes
Versions: 4
Compression:
Stored size: 417 Bytes
Contents
class GraphViz class Types class LblString < Common def check(data) return data end def output html = /^<([<|(^<)*<].*)>$/m.match(@data.to_s) if html != nil "<#{html[1]}>" else @data.to_s.inspect.gsub( "\\\\", "\\" ) end end alias :to_gv :output alias :to_s :output alias :to_ruby :output end end end
Version data entries
4 entries across 4 versions & 2 rubygems