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 368 def self.configure(&block) 369 @configuration.apply(&block) 370 end
freeze()
[show source]
# File lib/rodauth.rb 372 def self.freeze 373 @features.freeze 374 @routes.freeze 375 @route_hash.freeze 376 super 377 end
inherited(subclass)
[show source]
# File lib/rodauth.rb 355 def self.inherited(subclass) 356 super 357 superclass = self 358 subclass.instance_exec do 359 @roda_class = superclass.roda_class 360 @features = superclass.features.clone 361 @routes = superclass.routes.clone 362 @route_hash = superclass.route_hash.clone 363 @configuration = superclass.configuration.clone 364 @configuration.instance_variable_set(:@auth, self) 365 end 366 end