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 493 def self.configure(&block) 494 @configuration.apply(&block) 495 end
freeze()
[show source]
# File lib/rodauth.rb 497 def self.freeze 498 @features.freeze 499 @routes.freeze 500 @route_hash.freeze 501 super 502 end
inherited(subclass)
[show source]
# File lib/rodauth.rb 480 def self.inherited(subclass) 481 super 482 superclass = self 483 subclass.instance_exec do 484 @roda_class = superclass.roda_class 485 @features = superclass.features.clone 486 @routes = superclass.routes.clone 487 @route_hash = superclass.route_hash.clone 488 @configuration = superclass.configuration.clone 489 @configuration.instance_variable_set(:@auth, self) 490 end 491 end