Module: Funfig

Defined in:
lib/funfig.rb,
lib/funfig/version.rb

Defined Under Namespace

Classes: Group, ProxyGroup, ProxyParam, Root

Constant Summary collapse

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

Class Method Summary collapse

Class Method Details

.new(&block) ⇒ Object

Create configuration schema

:call-seq:



289
290
291
292
293
# File 'lib/funfig.rb', line 289

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