Method: String#to_pathname
- Defined in:
- lib/pleasant_path/string.rb
permalink #to_pathname ⇒ Pathname Also known as: path
Constructs a Pathname from the String.
9 10 11 |
# File 'lib/pleasant_path/string.rb', line 9 def to_pathname Pathname.new(self) end |