private Method

XmlSimple.get_var(name)

Called during variable substitution to get the value for the named variable.

Source Code

# File active_support/vendor/xml-simple-1.0.11/xmlsimple.rb, line 733
def get_var(name)
  if @_var_values.has_key?(name)
    return @_var_values[name]
  else
    return "${#{name}}"
  end
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.