lib/forgery/dictionaries.rb in forgery-0.3.12 vs lib/forgery/dictionaries.rb in forgery-0.4.0

- old
+ new

@@ -6,10 +6,10 @@ @dictionaries = {} end def [](key) symbolized_key = key.to_sym - @dictionaries[symbolized_key] ||= FileReader.read_dictionary(symbolized_key) + @dictionaries[symbolized_key] ||= Forgery::Extend(FileReader.read_dictionary(symbolized_key)) end def loaded?(key) @dictionaries.has_key?(key.to_sym) end