class Byebug::Frame

def locals


Gets local variables for the frame.
def locals
  return [] unless _binding
  _binding.local_variables.each_with_object({}) do |e, a|
    a[e] = _binding.local_variable_get(e)
    a
  end
end