method

result_with_hash

ruby latest stable - Class: ERB
result_with_hash(hash)
public

Render a template on a new toplevel binding with local variables specified by a Hash object.