Method: Web2Go::ERB_Interpreter#add_field
- Defined in:
- lib/Web2Go/ERB_Interpreter.rb
#add_field(name, value) ⇒ Object
add a member variable to the evaluation context Can be accessed from within script as @name
23 24 25 |
# File 'lib/Web2Go/ERB_Interpreter.rb', line 23 def add_field(name,value) instance_variable_set(name,value) end |