Class: String

### Home Classes Methods

### In Files

- lib/pathname2.rb

### Parent

Object

### Methods

- #to_path

### Files

- CHANGES
- MANIFEST
- README

### Class/Module Index

Quicksearch

- Pathname
- Pathname::Error
- Kernel
- String

No matching classes.

# String

### Public Instance Methods

to_path() click to toggle source

Convert a string directly into a Pathname object.

    # File lib/pathname2.rb, line 1128
    def to_path
      Pathname.new(self)
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.