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
70 def def_configuration_methods(feature)
71   private_methods = feature.private_instance_methods.map(&:to_sym)
72   priv = proc{|m| private_methods.include?(m)}
73   feature.auth_methods.each{|m| def_auth_method(m, priv[m])}
74   feature.auth_value_methods.each{|m| def_auth_value_method(m, priv[m])}
75   feature.auth_private_methods.each{|m| def_auth_private_method(m)}
76 end