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