Class: GraphViz::Parser::GraphPreference

Inherits:
Treetop::Runtime::SyntaxNode
  • Object
show all
Defined in:
lib/graphviz/parser.rb

Instance Method Summary collapse

Instance Method Details

#eval(context) ⇒ Object



71
72
73
74
75
# File 'lib/graphviz/parser.rb', line 71

def eval( context )
  # puts "GRAPH PREFERENCE : "
  # puts "  #{key.text_value} = #{value.text_value.gsub(/"/, "")}"
  context.graph[key.text_value] = value.text_value.gsub(/"/, "")
end