Module: Rodauth::InstanceMethods
- Defined in:
- lib/rodauth.rb
Instance Method Summary collapse
Instance Method Details
#default_rodauth_name ⇒ Object
485 486 487 |
# File 'lib/rodauth.rb', line 485 def default_rodauth_name nil end |
#rodauth(name = default_rodauth_name) ⇒ Object
489 490 491 492 493 494 495 |
# File 'lib/rodauth.rb', line 489 def rodauth(name=default_rodauth_name) if name (@_rodauths ||= {})[name] ||= self.class.rodauth(name).new(self) else @_rodauth ||= self.class.rodauth.new(self) end end |