Method: Forgery::FileReader.read_dictionary

Defined in:
lib/forgery/file_reader.rb

.read_dictionary(dictionary) ⇒ Object

Returns an array of strings containing each line in the dictionary



6
7
8
# File 'lib/forgery/file_reader.rb', line 6

def self.read_dictionary(dictionary)
  read_file(find_file(dictionary, :dictionaries))
end