class IDL::OptionList::Option::Group::ParamSet::Configurator
def initialize(set)
def initialize(set) @set = set end
def on_exec(&block)
def on_exec(&block) ext_klass = class << @set; self; end ext_klass.send(:define_method, :_exec, &block) ext_klass.send(:protected, :_exec) end
def with(param, options = {})
def with(param, options = {}) @set.define_params({param => options}) end
def without(*params)
def without(*params) params.each { |p| @set.params.delete(p.to_sym) } end