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 375 def self.configure(&block) 376 @configuration.apply(&block) 377 end
freeze()
[show source]
# File lib/rodauth.rb 379 def self.freeze 380 @features.freeze 381 @routes.freeze 382 @route_hash.freeze 383 super 384 end
inherited(subclass)
[show source]
# File lib/rodauth.rb 362 def self.inherited(subclass) 363 super 364 superclass = self 365 subclass.instance_exec do 366 @roda_class = superclass.roda_class 367 @features = superclass.features.clone 368 @routes = superclass.routes.clone 369 @route_hash = superclass.route_hash.clone 370 @configuration = superclass.configuration.clone 371 @configuration.instance_variable_set(:@auth, self) 372 end 373 end