Return to Snippet

Revision: 14926
at June 17, 2009 14:21 by meanmarcus


Initial Code
puts ("a".."z").to_a

#=> [a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z]

("a".."z").each{|letter| puts letter}

Initial URL

                                

Initial Description
Just an easy way to loop through and generate the alphabet in Ruby

Initial Title
Generate and recurse through the alphabet

Initial Tags

                                

Initial Language
Ruby