Method: Web2Go::ERB_Interpreter#add_parameter

Defined in:
lib/Web2Go/ERB_Interpreter.rb

#add_parameter(name, value) ⇒ Object

Add a named field to the evaluation context Can be accessed from within script as erb.name



17
18
19
# File 'lib/Web2Go/ERB_Interpreter.rb', line 17

def add_parameter(name,value)
  @evaluation_context.send(name+'=',value)
end