Class: ExceptionManager::Methods::Locals
- Inherits:
-
Object
- Object
- ExceptionManager::Methods::Locals
- Defined in:
- lib/exception_manager/methods/locals.rb
Class Method Summary collapse
Class Method Details
.run(exception_binding) ⇒ Object
2 3 4 5 6 7 8 9 10 |
# 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 |