Called when a variable definition is encountered in the XML. A variable definition looks like
<element attrname="name">value</element>
where attrname matches the varattr setting.
Source Code
# File active_support/vendor/xml-simple-1.0.11/xmlsimple.rb, line 727 def set_var(name, value) @_var_values[name] = value end
<code/>and<pre/>for code samples.