lib/action_view/view_paths.rb in actionview-7.0.2.4 vs lib/action_view/view_paths.rb in actionview-7.0.3

- old
+ new

@@ -89,32 +89,32 @@ # The prefixes used in render "foo" shortcuts. def _prefixes # :nodoc: self.class._prefixes end - # <tt>LookupContext</tt> is the object responsible for holding all + # LookupContext is the object responsible for holding all # information required for looking up templates, i.e. view paths and - # details. Check <tt>ActionView::LookupContext</tt> for more information. + # details. Check ActionView::LookupContext for more information. def lookup_context @_lookup_context ||= ActionView::LookupContext.new(self.class._view_paths, details_for_lookup, _prefixes) end def details_for_lookup {} end - # Append a path to the list of view paths for the current <tt>LookupContext</tt>. + # Append a path to the list of view paths for the current LookupContext. # # ==== Parameters # * <tt>path</tt> - If a String is provided, it gets converted into # the default view path. You may also provide a custom view path # (see ActionView::PathSet for more information) def append_view_path(path) lookup_context.view_paths.push(*path) end - # Prepend a path to the list of view paths for the current <tt>LookupContext</tt>. + # Prepend a path to the list of view paths for the current LookupContext. # # ==== Parameters # * <tt>path</tt> - If a String is provided, it gets converted into # the default view path. You may also provide a custom view path # (see ActionView::PathSet for more information)