cycle (ActionView::Helpers::TextHelper)

    # File lib/action_view/helpers/text_helper.rb, line 260
          def cycle(first_value, *values)
            if (values.last.instance_of? Hash)
              params = values.pop
              name = params[:name]
            else
              name = "default"
            end
            values.unshift(first_value)

            cycle = get_cycle(name)
            if (cycle.nil? || cycle.values != values)
              cycle = set_cycle(name, Cycle.new(*values))
            end
            return cycle.to_s
          end