method

new

rails latest stable - Class: ActionView::PathSet::Path

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.2.1) is shown here.

new(path, load = true)
public

No documentation available.

# File actionpack/lib/action_view/paths.rb, line 54
      def initialize(path, load = true)
        raise ArgumentError, "path already is a Path class" if path.is_a?(Path)
        @path = path.freeze
        reload! if load
      end