Welcome, guest | Sign In | My Account | Store | Cart

It seems just for fun but sometimes it very useful (for example, writing a script to generate random password).

Ruby, 7 lines
1
2
3
4
5
6
7
Convert = System::Convert
#array of char points
chrs = (65..90), (97..122)
#convert points to symbols
chrs.each do |pnt|
  pnt.each {|i| puts Convert.ToChar(i)}
end
Created by greg zakharov on Mon, 19 Nov 2012 (MIT)
Ruby recipes (14)
greg zakharov's recipes (59)

Required Modules

  • (none specified)

Other Information and Tasks