module Zeamays class Cob module Growth @rows = [] def initialize(rows = []) @rows = rows end def grow!(*row) # Expanding single item Array if row.is_a? Array and row.length == 1 and row[0].is_a? Array row = row[0] end @rows << row end def grow(*row) grow!(*row) end end end end