Methods
Public Instance
Public Instance methods
freeze()
[show source]
# File lib/rodauth.rb 564 def freeze 565 rodauths.each_value(&:freeze) 566 rodauths.freeze 567 super 568 end
precompile_rodauth_templates()
[show source]
# File lib/rodauth.rb 548 def precompile_rodauth_templates 549 instance = allocate 550 rodauth = instance.rodauth 551 552 view_opts = rodauth.send(:loaded_templates).map do |page| 553 rodauth.send(:_view_opts, page) 554 end 555 view_opts << rodauth.send(:button_opts, '', OPTS) 556 557 view_opts.each do |opts| 558 instance.send(:retrieve_template, opts).send(:compiled_method, opts[:locals].keys.sort_by(&:to_s)) 559 end 560 561 nil 562 end
rodauth(name=nil)
[show source]
# File lib/rodauth.rb 544 def rodauth(name=nil) 545 rodauths[name] 546 end
rodauth_json()
[show source]
# File lib/rodauth.rb 534 def rodauth_json 535 opts[:rodauth_json] 536 end
rodauth_route_csrf?()
[show source]
# File lib/rodauth.rb 538 def rodauth_route_csrf? 539 opts[:rodauth_route_csrf] 540 end