Object
# File lib/randexp/dictionary.rb, line 2 2: def self.load_dictionary 3: if File.exists?("/usr/share/dict/words") 4: File.read("/usr/share/dict/words").split 5: elsif File.exists?("/usr/dict/words") 6: File.read("/usr/dict/words").split 7: else 8: raise "Words file not found. Check if it is installed in (/usr/share/dict/words or /usr/dict/words) " 9: end 10: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.