reset_cycle(name = "default") public Resets a cycle so that it starts from the first element the next time it is called. Pass in name to reset a named cycle.
Show source def reset_cycle(name = "default") cycle = get_cycle(name) cycle.reset unless cycle.nil? end