Hi Simon  & Jamey,

I forgot the first commandment of programming: RTFM.  Sorry, guys.
Thanks for you excellent responses.

Best wishes,
Richard

On Jul 8, 8:11 pm, RichardOnRails
<[email protected]> wrote:
> Hi,
>
> I wanted to copy one array into another, element by element, so that I
> could edit the source data as necessary.  I simultaneously changed a
> source element using "strip!".  The latter step corrupted the
> copying.  Without the bang operator,  all works as expected.
>
> The above question, source code and output are stored 
> athttp://www.pastie.org/539430.
>
> This is not an earth-shattering problem.  I'm just curious why it
> doesn't work ... especially because it took me a good while to figure
> out the cause of my app's failure.
>
> Thanks in Advance,
> Richard
--~--~---------~--~----~------------~-------~--~----~
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 this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to