class ExceptionManager::Methods::Locals

Public Class Methods

run(exception_binding) click to toggle source
# File lib/exception_manager/methods/locals.rb, line 2
def self.run(exception_binding)
  ExceptionManager.required!
  exception_binding.eval %q{
    local_variables.inject({}) do |hash, local_variable_name|
      hash[local_variable_name] = eval(local_variable_name.to_s)
      hash
    end
  }
end