module Rodauth::InstanceMethods

  1. lib/rodauth.rb

Methods

Public Instance

  1. default_rodauth_name
  2. rodauth

Public Instance methods

default_rodauth_name()
[show source]
    # File lib/rodauth.rb
510 def default_rodauth_name
511   nil
512 end
rodauth(name=default_rodauth_name)
[show source]
    # File lib/rodauth.rb
514 def rodauth(name=default_rodauth_name)
515   if name
516     (@_rodauths ||= {})[name] ||= self.class.rodauth(name).new(self)
517   else
518     @_rodauth ||= self.class.rodauth.new(self)
519   end
520 end