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 472 def self.configure(&block) 473 @configuration.apply(&block) 474 end
freeze()
[show source]
# File lib/rodauth.rb 476 def self.freeze 477 @features.freeze 478 @routes.freeze 479 @route_hash.freeze 480 super 481 end
inherited(subclass)
[show source]
# File lib/rodauth.rb 459 def self.inherited(subclass) 460 super 461 superclass = self 462 subclass.instance_exec do 463 @roda_class = superclass.roda_class 464 @features = superclass.features.clone 465 @routes = superclass.routes.clone 466 @route_hash = superclass.route_hash.clone 467 @configuration = superclass.configuration.clone 468 @configuration.instance_variable_set(:@auth, self) 469 end 470 end