instance method
set_cycle
Ruby on Rails 7.1.6
Since v2.2.3 PrivateSignature
set_cycle(name, cycle_object)
No documentation comment.
Parameters
-
namereq -
cycle_objectreq
Source
# File actionview/lib/action_view/helpers/text_helper.rb, line 527
def set_cycle(name, cycle_object)
@_cycles = Hash.new unless defined?(@_cycles)
@_cycles[name] = cycle_object
end
Defined in actionview/lib/action_view/helpers/text_helper.rb line 527
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::Helpers::TextHelper