Class: GraphViz::Parser::Options
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- GraphViz::Parser::Options
- Defined in:
- lib/graphviz/parser.rb
Instance Method Summary collapse
Instance Method Details
#eval ⇒ Object
220 221 222 223 224 225 226 227 228 229 230 |
# File 'lib/graphviz/parser.rb', line 220 def eval = {} elements[2].elements.each do |e| # puts " #{e.elements[0].text_value} = #{e.elements[4].text_value}" [e.elements[0].text_value] = e.elements[4].text_value.gsub( /"/, "" ) end # puts " #{elements[3].text_value} = #{elements[7].text_value}" [elements[3].text_value] = elements[7].text_value.gsub( /"/, "" ) return end |