Class: ThatLanguage::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/that_language/configuration.rb

Instance Method Summary collapse

Instance Method Details

#wordlist_pathObject



3
4
5
6
7
# File 'lib/that_language/configuration.rb', line 3

def wordlist_path
  @wordlist_path ||= File.absolute_path(
    File.join(File.dirname(__FILE__), '../../wordlists/10k/')
  )
end

#wordlist_path=(path) ⇒ Object



9
10
11
# File 'lib/that_language/configuration.rb', line 9

def wordlist_path=(path)
  @wordlist_path = path
end