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
407 def default_rodauth_name
408   nil
409 end
rodauth(name=default_rodauth_name)
[show source]
    # File lib/rodauth.rb
411 def rodauth(name=default_rodauth_name)
412   if name
413     (@_rodauths ||= {})[name] ||= self.class.rodauth(name).new(self)
414   else
415     @_rodauth ||= self.class.rodauth.new(self)
416   end
417 end