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