Joined May 2011
·

Haris Amin

Software Developer at DailyBurn
·
New York,NY
·
·
·

Posted to Array#extract_if over 1 year ago

"A handy Array method that essentially finds and removes an item from an array in one go"

Ruby on its own already has this (Array#reject!) :

@links.reject!{|link| link.match /wikipedia.com/ } </code>

Achievements
96 Karma
432 Total ProTip Views