Sha256: 4cc02139e297168ebae51921cbffcd7a175595c264204c14f9adb97426ce6de6

Contents?: true

Size: 418 Bytes

Versions: 6

Compression:

Stored size: 418 Bytes

Contents

class Pathname
  # 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
  def /(path)
    (self + path).expand_path
  end
end # class Pathname

Version data entries

6 entries across 6 versions & 3 rubygems

Version Path
quickbooks-1.0.2 lib/quickbooks/extlib/pathname.rb
quickbooks-0.9.9 lib/quickbooks/extlib/pathname.rb
extlib-0.9.10 lib/extlib/pathname.rb
extlib-0.9.9 lib/extlib/pathname.rb
mack-facets-0.8.3 lib/gems/extlib-0.9.9/lib/extlib/pathname.rb
mack-facets-0.8.3.1 lib/gems/extlib-0.9.9/lib/extlib/pathname.rb