Module: Memit

Defined in:
lib/memit.rb,
lib/memit/cli.rb,
lib/memit/config.rb,
lib/memit/config_repository.rb,
lib/memit/question_provider.rb

Defined Under Namespace

Classes: CLI, Config, ConfigRepository, QuestionProvider

Class Method Summary collapse

Class Method Details

.config_pathObject



16
17
18
# File 'lib/memit.rb', line 16

def self.config_path
  @config_path ||= Pathname.new(File.expand_path('~/.memit'))
end

.root_pathObject



12
13
14
# File 'lib/memit.rb', line 12

def self.root_path
  @root_path ||= Pathname.new(__dir__).parent
end