491 492 493 494 495 496 497
# File 'lib/map.rb', line 491 def pop unless empty? key = keys.last val = delete(key) [key, val] end end