method

result

v1_8_6_287 - Show latest stable - Class: ERB
result(b=TOPLEVEL_BINDING)
public

Executes the generated ERB code to produce a completed template, returning the results of that code. (See ERB#new for details on how this process can be affected by safe_level.)

b accepts a Binding or Proc object which is used to set the context of code evaluation.