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