Methods
Public Class
Attributes
| configuration | [R] | |
| configuration_name | [R] | |
| features | [R] | |
| roda_class | [RW] | |
| route_hash | [RW] | |
| routes | [R] |
Public Class methods
configure(&block)
[show source]
# File lib/rodauth.rb 495 def self.configure(&block) 496 @configuration.apply(&block) 497 end
freeze()
[show source]
# File lib/rodauth.rb 499 def self.freeze 500 @features.freeze 501 @routes.freeze 502 @route_hash.freeze 503 super 504 end
inherited(subclass)
[show source]
# File lib/rodauth.rb 482 def self.inherited(subclass) 483 super 484 superclass = self 485 subclass.instance_exec do 486 @roda_class = superclass.roda_class 487 @features = superclass.features.clone 488 @routes = superclass.routes.clone 489 @route_hash = superclass.route_hash.clone 490 @configuration = superclass.configuration.clone 491 @configuration.instance_variable_set(:@auth, self) 492 end 493 end