Ruby One wrote:
[...]
> 
> I am newbee so do not much syntax and loops can you please help me i 
> that.
> 
> thanks

Check out the "pickaxe book" (Programming Ruby, available on the Web). 
Pay particular attention to regular expressions, the String class 
(especially the split and join methods), the Array class, and looping 
constructs such as each.  Then try writing your function.  If something 
goes wrong that you can't figure out, tell us what you tried, and what 
errors or other output you got.

Good luck!

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
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 [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