Skip to content

Commit 4fb63f7

Browse files
committed
Mark _prefix as nodoc
These methods are private API.
1 parent a0630ee commit 4fb63f7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

actionview/lib/action_view/view_paths.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module ViewPaths
1414
:locale, :locale=, :to => :lookup_context
1515

1616
module ClassMethods
17-
def _prefixes
17+
def _prefixes # :nodoc:
1818
@_prefixes ||= begin
1919
deprecated_prefixes = handle_deprecated_parent_prefixes and return deprecated_prefixes
2020

@@ -39,11 +39,10 @@ def handle_deprecated_parent_prefixes # TODO: remove in 4.3/5.0.
3939
end
4040

4141
# The prefixes used in render "foo" shortcuts.
42-
def _prefixes
42+
def _prefixes # :nodoc:
4343
self.class._prefixes
4444
end
4545

46-
4746
# LookupContext is the object responsible to hold all information required to lookup
4847
# templates, i.e. view paths and details. Check ActionView::LookupContext for more
4948
# information.

0 commit comments

Comments
 (0)