class Byebug::History

def last_ids(n)


Array of ids of the last n commands.
def last_ids(n)
  (1 + size - n..size).to_a
end