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
485 def default_rodauth_name
486   nil
487 end
rodauth(name=default_rodauth_name)
[show source]
    # File lib/rodauth.rb
489 def rodauth(name=default_rodauth_name)
490   if name
491     (@_rodauths ||= {})[name] ||= self.class.rodauth(name).new(self)
492   else
493     @_rodauth ||= self.class.rodauth.new(self)
494   end
495 end