class Rodauth::FeatureConfiguration

  1. lib/rodauth.rb
Superclass: Module

Methods

Public Instance

  1. def_configuration_methods

Public Instance methods

def_configuration_methods(feature)
[show source]
   # File lib/rodauth.rb
68 def def_configuration_methods(feature)
69   private_methods = feature.private_instance_methods.map(&:to_sym)
70   priv = proc{|m| private_methods.include?(m)}
71   feature.auth_methods.each{|m| def_auth_method(m, priv[m])}
72   feature.auth_value_methods.each{|m| def_auth_value_method(m, priv[m])}
73   feature.auth_private_methods.each{|m| def_auth_private_method(m)}
74 end