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