class VCR::Cassette::ERBRenderer

def handle_name_error(e)

def handle_name_error(e)
  example_hash = (erb_variables || {}).merge(e.name => 'some value')
  raise Errors::MissingERBVariableError.new(
    "The ERB in the #{@cassette_name} cassette file references undefined variable #{e.name}.  " +
    "Pass it to the cassette using :erb => #{ example_hash.inspect }."
  )
end