Method: String#path
- Defined in:
- lib/pleasant_path/string.rb
#path ⇒ Pathname
Constructs a Pathname from the String. Alias of #to_pathname.
16 17 18 |
# File 'lib/pleasant_path/string.rb', line 16 def to_pathname Pathname.new(self) end |