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
508 def default_rodauth_name
509   nil
510 end
rodauth(name=default_rodauth_name)
[show source]
    # File lib/rodauth.rb
512 def rodauth(name=default_rodauth_name)
513   if name
514     (@_rodauths ||= {})[name] ||= self.class.rodauth(name).new(self)
515   else
516     @_rodauth ||= self.class.rodauth.new(self)
517   end
518 end