Module: Funfig

Defined in:
lib/funfig.rb,
lib/funfig/load.rb,
lib/funfig/root.rb,
lib/funfig/group.rb,
lib/funfig/version.rb,
lib/funfig/ini_parser.rb,
lib/funfig/load_proxy.rb,
lib/funfig/declaration_sugar.rb

Defined Under Namespace

Classes: Group, IniParser, LoadProxy, ProxyGroup, ProxyParam, ProxyRef, Root

Constant Summary collapse

NOT_SET =
Object.new.freeze
VERSION =
"0.0.6"

Class Method Summary collapse

Class Method Details

.new(&block) ⇒ Object

Create configuration schema

:call-seq:



12
13
14
15
16
# File 'lib/funfig.rb', line 12

def self.new(&block)
  conf = Class.new(Root)
  conf.class_exec &block
  conf
end