module LittleWeasel::Modules::DictionaryFileLoader

Defines methods to load dictionaries. The dictionary file path is used as a key to avoid loading the same dictionary multiple times.

Public Instance Methods

load(dictionary_file_path) click to toggle source
# File lib/LittleWeasel/modules/dictionary_file_loader.rb, line 13
def load(dictionary_file_path)
  Loader.new(dictionary_file_path, config).load
end