class Rodauth::FeatureConfiguration

def def_auth_value_method(meth, priv)

def def_auth_value_method(meth, priv)
  define_method(meth) do |*v, &block|
    v = v.first
    block ||= proc{v}
    @auth.send(:define_method, meth, &block)
    @auth.send(:private, meth) if priv
  end
end