[Source]
# File lib/genpasswd.rb, line 10 def initialize ( length=8 ) str = new length.times do str << ('!'..'~').choose end str end
[Validate]