Parent

Methods

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, #] 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
12:   def /(path)
13:     (self + path).expand_path
14:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.