/ Published in: Ruby

Just an easy way to loop through and generate the alphabet in Ruby
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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}
Comments
