class Byebug::Frame
def locals
- Todo: - Use `Binding#local_variables` directly once we drop 2.1 support
def locals return [] unless _binding _binding.eval('local_variables').each_with_object({}) do |e, a| a[e] = _binding.local_variable_get(e) a end end