2012/9/8 John Merlino <[email protected]>

> In the example below, what is the dash doing between the class
> attribute and array:
>
> (field_helpers -
> [:label, :check_box, :radio_button, :fields_for, :hidden_field,
> :file_field]).each
> do |selector|

Look at http://www.ruby-doc.org/core-1.9.3/Array.html#method-i-2D

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to