Method: Pathname#to_pathname

Defined in:
lib/pleasant_path/pathname.rb

#to_pathnameself

Returns the Pathname unmodified. Exists for parity with String#to_pathname.

Returns:

  • (self)


14
15
16
# File 'lib/pleasant_path/pathname.rb', line 14

def to_pathname
  self
end