# File 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