DEV Community

Discussion on: Level Up Your Ruby Skillz: Working With Arrays

Collapse
 
ludamillion profile image
Luke Inglis

Guess it pays to keep a beginner's mind. I've been using Ruby professionally for 7+ years and some of these were new to me.

Collapse
 
tadman profile image
Scott Tadman • Edited

They keep adding new toys to the language. One of my more recent discoveries is transform_keys and transform_values for Hash which they shipped without fanfare in Ruby 2.4. That's proven really valuable for "symbolizing" keys and cleaning up values.