Module: Lingvo::Config

Defined in:
lib/lingvo/config/config.rb

Constant Summary collapse

LINGVO_DIR =
File.expand_path('../..', __FILE__)
DEFAULT_CONFIG =
"#{LINGVO_DIR}/config/default.yaml"
DEFAULT_IMG =
"#{LINGVO_DIR}/gui/img/eng.png"
BASE_DIR =
File.join Dir.home, '.lingvo'
DB_FILE =
File.join BASE_DIR, 'english_words.sqlite3'
CUSTOM_CONFIG =
File.join BASE_DIR, 'config.yaml'

Class Attribute Summary collapse

Class Attribute Details

.guiObject

Returns the value of attribute gui.



7
8
9
# File 'lib/lingvo/config/config.rb', line 7

def gui
  @gui
end

.notifyObject

Returns the value of attribute notify.



7
8
9
# File 'lib/lingvo/config/config.rb', line 7

def notify
  @notify
end