Class: GraphViz::Types::HtmlString

Inherits:
Common show all
Defined in:
lib/graphviz/types/html_string.rb

Instance Method Summary collapse

Methods inherited from Common

#initialize, #source

Constructor Details

This class inherits a constructor from GraphViz::Types::Common

Instance Method Details

#check(data) ⇒ Object



5
6
7
# File 'lib/graphviz/types/html_string.rb', line 5

def check(data)
  return data
end

#outputObject Also known as: to_gv, to_s, to_ruby



9
10
11
# File 'lib/graphviz/types/html_string.rb', line 9

def output
  return "<"+@data+">"
end