Sha256: 238313cda59f066155d8d6e399a3cb8e921cc6cf78e671c7010735faaaca7eda
Contents?: true
Size: 290 Bytes
Versions: 1
Compression:
Stored size: 290 Bytes
Contents
class XKPassword::Store SOURCE = 'google-10000-english-no-swears.txt' attr_reader :data def initialize load_data end private def load_data path = "#{ File.dirname(__FILE__) }/data/#{ SOURCE }" @data = IO.readlines(path).map{ |item| item.delete("\n") } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
xkpassword-0.3.3 | lib/xkpassword/store.rb |