Sebastian Hungerecker
9/19/2007 11:16:00 AM
Vellingiri Arul wrote:
> > 2007/9/19, Vellingiri Arul <hariharan.spc@rediffmail.com>:
> >> Dear Friends,
> >> How could i do iterate over a series of alphabetically increasing
> >> strings.
> I want to sort them.
Then use Enumerable#sort
Like: %w(bb aa cc).sort
#=> ["aa", "bb", "cc"]
HTH,
Sebastian
--
NP: Rapture - I Am Complete
Jabber: sepp2k@jabber.org
ICQ: 205544826