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 394 def self.configure(&block) 395 @configuration.apply(&block) 396 end
freeze()
[show source]
# File lib/rodauth.rb 398 def self.freeze 399 @features.freeze 400 @routes.freeze 401 @route_hash.freeze 402 super 403 end
inherited(subclass)
[show source]
# File lib/rodauth.rb 381 def self.inherited(subclass) 382 super 383 superclass = self 384 subclass.instance_exec do 385 @roda_class = superclass.roda_class 386 @features = superclass.features.clone 387 @routes = superclass.routes.clone 388 @route_hash = superclass.route_hash.clone 389 @configuration = superclass.configuration.clone 390 @configuration.instance_variable_set(:@auth, self) 391 end 392 end