--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Allows you to cycle through elements in an array
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Parameters
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "values<Array>:"
    body: Array of objects to cycle through
  - !ruby/struct:SM::Flow::LI 
    label: "values<Hash>:"
    body: Last element of array can be a hash with the key of :name to specify the name of the cycle
  type: :NOTE
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Returns
- !ruby/struct:SM::Flow::P 
  body: String
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Notes
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Default name is :default
  type: :BULLET
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Example
- !ruby/struct:SM::Flow::P 
  body: "&lt;%= 5.times { cycle(&quot;odd! &quot;,&quot;even! &quot;} %&gt;"
- !ruby/struct:SM::Flow::P 
  body: "Generates:"
- !ruby/struct:SM::Flow::P 
  body: odd! even! odd! even! odd!
full_name: Merb::Helpers::Text#cycle
is_singleton: false
name: cycle
params: (*values)
visibility: public
