= private = protected
The exact documentation you were looking for could not be found. Here is the best guess.
to_s()
Return the path as a String.
# File lib/pathname.rb, line 241 def to_s @path.dup end