On 2 July 2012 09:59, phoe san <li...@ruby-forum.com> wrote:
> Dear friends,
>
> What is different between these two array method.
>
>  First Array Method
>
>       arr  = ps_array["1"]

What is the type of ps_array["1"]

Colin

>       arr += ps_array["2"]
>       arr += ps_array["3"]
>
>
>  Second Array Method
>
>       arr = [ps_array["1"],ps_array["2"],ps_array["3"]]
>
>
> yours,
>
> phoesan
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> 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+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/rubyonrails-talk?hl=en-US.
>

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

Reply via email to