lib/kaname/generator.rb in kaname-0.1.4 vs lib/kaname/generator.rb in kaname-0.1.5
- old
+ new
@@ -1,9 +1,9 @@
require 'securerandom'
module Kaname
class Generator
- class < self
+ class << self
def password
SecureRandom.base64(6)
end
end
end