Sha256: 8e8a410937430570dea6b14e46b1b045457c5ea3e16f0d7f038a1de8b207f836
Contents?: true
Size: 1.99 KB
Versions: 16
Compression:
Stored size: 1.99 KB
Contents
o:$YARD::CodeObjects::MethodObject: @name: link:@docstringIC:YARD::Docstring"8Creates a new name for an existing file using a hard link. Will not overwrite <i>new_name</i> if it already exists (raising a subclass of <code>SystemCallError</code>). Not available on all platforms. File.link("testfile", ".testfile") #=> 0 IO.readlines(".testfile")[0] #=> "This is line one\n" :@objectu:YARD::StubProxyFile.link: @summary0: @all"kCreates a new name for an existing file using a hard link. Will not overwrite <i>new_name</i> if it already exists (raising a subclass of <code>SystemCallError</code>). Not available on all platforms. File.link("testfile", ".testfile") #=> 0 IO.readlines(".testfile")[0] #=> "This is line one\n" @overload link(old_name, new_name) @return [0]:@ref_tags[ : @tags[o:YARD::Tags::OverloadTag ; u;File.link;;;IC; "