Consecutive Differences: Two Ways in Ruby 💎

I ran into a new problem today and discovered a new Ruby method: each_cons.