Flowdock
method

new

Importance_0
v2.3.8 - Show latest stable - 0 notes - Class: ActionView::Template::Path
new(path) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_view/template.rb, line 7
      def initialize(path)
        raise ArgumentError, "path already is a Path class" if path.is_a?(Path)
        @path = (path.ends_with?(File::SEPARATOR) ? path.to(-2) : path).freeze
      end
Register or log in to add new notes.