method
new
v3.2.13 -
Show latest stable
- Class:
ActionView::Helpers::TextHelper::Cycle
new(first_value, *values)public
No documentation available.
# File actionpack/lib/action_view/helpers/text_helper.rb, line 377
def initialize(first_value, *values)
@values = values.unshift(first_value)
reset
end