Sha256: 1925d8bcb6a689e776e6b5484c0a97df4040bd638d21b0228e3f623a36f54f3a

Contents?: true

Size: 376 Bytes

Versions: 1

Compression:

Stored size: 376 Bytes

Contents

require 'dk/version'
require 'dk/config'
require 'dk/task'

module Dk

  def self.config
    @config ||= Config.new
  end

  def self.configure(&block)
    self.config.init_procs << block
  end

  def self.init
    self.config.init
  end

  def self.reset
    @config = Config.new
  end

  NoticeError  = Class.new(RuntimeError)
  NoParamError = Class.new(ArgumentError)

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dk-0.1.0 lib/dk.rb