Class: Pathname

### Home Classes Methods

### In Files

- lib/extlib/pathname.rb

### Parent

Object

### Methods

- #/

### Files

- LICENSE
- README.rdoc

### Class/Module Index

Quicksearch

- Extlib
- Extlib::Assertions
- Extlib::ByteArray
- Extlib::Hook
- Extlib::Hook::ClassMethods
- Extlib::Inflection
- Extlib::LocalObjectSpace
- Extlib::Logger
- Extlib::Pooling
- Extlib::Pooling::InvalidResourceError
- Extlib::Pooling::Pool
- Extlib::SimpleSet
- Gem
- Gem::SourceIndex
- Gem::Specification
- LazyModule
- LazyModule::ClassMethods
- Array
- Class
- DateTime
- Dictionary
- FalseClass
- Hash
- LazyArray
- Mash
- Module
- NilClass
- Numeric
- Object
- ObjectSpace
- Pathname
- REXMLUtilityNode
- String
- Struct
- Symbol
- Time
- ToHashParser
- TrueClass
- VirtualFile

No matching classes.

# Pathname

### Public Instance Methods

/(path) click to toggle source

Append path segments and expand to absolute path

    file = Pathname(Dir.pwd) / "subdir1" / :subdir2 / "filename.ext"

@param [Pathname, String, to_s] path path segment to concatenate with receiver

@return [Pathname]

    receiver with _path_ appended and expanded to an absolute path

@api public

    # File lib/extlib/pathname.rb, line 12
    def /(path)
      (self + path).expand_path
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.