Object
Convert a string directly into a Pathname object.
# File lib/pathname2.rb, line 1128 def to_path Pathname.new(self) end