instead of `map { |x| x.capitalize }` you can use map(&:capitalize) ;)