#!/usr/bin/ruby # -*- coding: utf-8 -*- =begin reject로 특정 조건 제거 =end array = [2, 3, 5, 7, 9] puts array.reject { |item| item.even? }