Module: WB

Defined in:
lib/wb.rb,
lib/wb/cli.rb,
lib/wb/day.rb,
lib/wb/note.rb,
lib/wb/shell.rb,
lib/wb/config.rb,
lib/wb/project.rb,
lib/wb/version.rb,
lib/wb/filename.rb,
lib/wb/config_template.rb

Defined Under Namespace

Classes: CLI, Config, ConfigTemplate, Day, Filename, Note, Project, Shell, TimeUtils

Constant Summary collapse

VERSION =
"1.1.0"

Class Method Summary collapse

Class Method Details

.config(path: default_config) ⇒ Object



17
18
19
# File 'lib/wb.rb', line 17

def self.config(path: default_config)
  @config ||= Config.new(path)
end

.default_configObject



13
14
15
# File 'lib/wb.rb', line 13

def self.default_config
  File.join(Etc.getpwuid.dir, ".workbookrc")
end