# test whether an array is empty or not with the empty? method months = Array.newmonths.empty? # => true