module ActionView::ViewPaths::ClassMethods

def _build_view_paths(paths) # :nodoc:

:nodoc:
def _build_view_paths(paths) # :nodoc:
  return paths if ActionView::PathSet === paths
  paths = ActionView::PathRegistry.cast_file_system_resolvers(paths)
  ActionView::PathSet.new(paths)
end

def _prefixes # :nodoc:

:nodoc:
def _prefixes # :nodoc:
  @_prefixes ||= begin
    return local_prefixes if superclass.abstract?
    local_prefixes + superclass._prefixes
  end
end

def _view_paths

def _view_paths
  ActionView::PathRegistry.get_view_paths(self)
end

def _view_paths=(paths)

def _view_paths=(paths)
  ActionView::PathRegistry.set_view_paths(self, paths)
end

def append_view_path(path)

(see ActionView::PathSet for more information)
the default view path. You may also provide a custom view path
* path - If a String is provided, it gets converted into
==== Parameters

Append a path to the list of view paths for this controller.
def append_view_path(path)
  self._view_paths = view_paths + _build_view_paths(path)
end

def local_prefixes

Prefixes defined here will still be added to parents' ._prefixes.
Override this method in your controller if you want to change paths prefixes for finding views.
def local_prefixes
  [controller_path]
end

def prepend_view_path(path)

(see ActionView::PathSet for more information)
the default view path. You may also provide a custom view path
* path - If a String is provided, it gets converted into
==== Parameters

Prepend a path to the list of view paths for this controller.
def prepend_view_path(path)
  self._view_paths = _build_view_paths(path) + view_paths
end

def view_paths

A list of all of the default view paths for this controller.
def view_paths
  _view_paths
end

def view_paths=(paths)

otherwise, process the parameter into a PathSet.
* paths - If a PathSet is provided, use that;
==== Parameters

Set the view paths.
def view_paths=(paths)
  self._view_paths = _build_view_paths(paths)
end