private Method

XmlSimple.set_var(name, value)

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
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.