days_of_week = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"]
Now if we do this.
days_of_week.cycle {|day| puts day}
it will return all the days of the week over and over, forever.
days_of_week = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"]
Now if we do this.
days_of_week.cycle {|day| puts day}
it will return all the days of the week over and over, forever.