Sha256: 7037f55c1b8a77fa13ad2474e9fff43ff3cd6a29533c6c84d16b41a99f53c920

Contents?: true

Size: 363 Bytes

Versions: 5

Compression:

Stored size: 363 Bytes

Contents

# frozen_string_literal: true
require "etc"

require "wb/version"
require "wb/config"
require "wb/cli"
require "wb/project"
require "wb/shell"
require "wb/day"
require "wb/config_template"

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

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wb-1.1.0 lib/wb.rb
wb-1.0.3 lib/wb.rb
wb-1.0.2 lib/wb.rb
wb-1.0.1 lib/wb.rb
wb-1.0.0 lib/wb.rb