Module: YaQueen

Defined in:
lib/ya_queen.rb,
lib/ya_queen/base.rb,
lib/ya_queen/config.rb,
lib/ya_queen/version.rb

Defined Under Namespace

Classes: Base, Config

Constant Summary collapse

VERSION =
"0.0.3"

Class Method Summary collapse

Class Method Details

.configure(context, path) {|config| ... } ⇒ Object

Yields:

  • (config)


8
9
10
11
12
# File 'lib/ya_queen.rb', line 8

def configure(context, path)
  config = Config.new(context, path)
  yield(config) if block_given?
  config
end