# Enumerable things people.select{|m| m =~ /^j/} people.grep(/^j/) people[0].freeze people.select(&:frozen?) frozen, not_frozen = people.partition(&:frozen?)