Module: Qippet::Config

Included in:
Qippet
Defined in:
lib/qippet/config.rb

Overview

Configuration module for Qippet

Defined Under Namespace

Classes: Configuration

Instance Method Summary collapse

Instance Method Details

#configObject



11
12
13
# File 'lib/qippet/config.rb', line 11

def config
  @config ||= Configuration.new
end

#configure {|config| ... } ⇒ Object

Yields:



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

def configure
  yield config if block_given?
end