Module: Lexdrill::Config

Defined in:
lib/lexdrill/config.rb

Overview

All of lexdrill's persisted state lives under this one directory in the user's home folder — a single global config, with no per-project or per-directory overrides.

Constant Summary collapse

DIR =
File.join(Dir.home, ".drill")

Class Method Summary collapse

Class Method Details

.path(filename) ⇒ Object



15
16
17
# File 'lib/lexdrill/config.rb', line 15

def self.path(filename)
  File.join(DIR, filename)
end