Module: Dictionary

Defined in:
lib/learn-japanese/data/dictionary.rb

Class Method Summary collapse

Class Method Details

.wordsObject



6
7
8
9
# File 'lib/learn-japanese/data/dictionary.rb', line 6

def self.words
  filename = File.join(File.dirname(__FILE__),  'words.yaml')
  words = YAML.load(File.read(filename))
end