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