lib/action_view/base.rb in actionview-6.1.7.10 vs lib/action_view/base.rb in actionview-7.0.0.alpha1

- old
+ new

@@ -7,11 +7,11 @@ require "action_view/helpers" require "action_view/context" require "action_view/template" require "action_view/lookup_context" -module ActionView #:nodoc: +module ActionView # :nodoc: # = Action View Base # # Action View templates can be written in several ways. # If the template file has a <tt>.erb</tt> extension, then it uses the erubi[https://rubygems.org/gems/erubi] # template system which can embed Ruby into an HTML document. @@ -177,11 +177,11 @@ def cache_template_loading=(value) ActionView::Resolver.caching = value end - def xss_safe? #:nodoc: + def xss_safe? # :nodoc: true end def with_empty_template_cache # :nodoc: subclass = Class.new(self) { @@ -225,10 +225,10 @@ new context, assigns, controller end # :startdoc: - def initialize(lookup_context, assigns, controller) #:nodoc: + def initialize(lookup_context, assigns, controller) # :nodoc: @_config = ActiveSupport::InheritableOptions.new @lookup_context = lookup_context @view_renderer = ActionView::Renderer.new @lookup_context