GraphViz::Types::EscString

Public Instance Methods

check(data) click to toggle source
# File lib/graphviz/types/esc_string.rb, line 4
def check(data)
  return data
end
output() click to toggle source
# File lib/graphviz/types/esc_string.rb, line 8
def output
  return @data.to_s.inspect.gsub( "\\\\", "\\" )
end
Also aliased as: to_gv, to_s
to_gv() click to toggle source
Alias for: output
to_ruby() click to toggle source
# File lib/graphviz/types/esc_string.rb, line 15
def to_ruby
   @data
end
to_s() click to toggle source
Alias for: output

[Validate]

Generated with the Darkfish Rdoc Generator 2.