class Byebug::Frame
def locals
local_variable defined for rubies >= 2.1
TODO: Use brand new local_variable_get, local_variable_set and
Gets local variables for the frame.
def locals return [] unless _binding _binding.eval('local_variables.inject({}){|h, v| h[v] = eval(v.to_s); h}') end