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