Ruby on Rails Tuesday, August 31, 2010

On 31 August 2010 20:40, Greg Donald <gdonald@gmail.com> wrote:
> On Tue, Aug 31, 2010 at 2:37 PM, Michael Pavling <pavling@gmail.com> wrote:
>> <% array = ['a','b','c']  %>
>
> %w( a b c )

I wasn't going to get into array-making idioms - I just stuck to the
OP's method of populating his array :-)

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment