Results for: "String# "

Returns the inode number for stat.

File.stat("testfile").ino   #=> 1083669

Returns the number of hard links to stat.

File.stat("testfile").nlink             #=> 1
File.link("testfile", "testfile.bak")   #=> 0
File.stat("testfile").nlink             #=> 2

Produce a nicely formatted description of stat.

File.stat("/etc/passwd").inspect
   #=> "#<File::Stat dev=0xe000005, ino=1078078, mode=0100644,
   #    nlink=1, uid=0, gid=0, rdev=0x0, size=1374, blksize=4096,
   #    blocks=8, atime=Wed Dec 10 10:16:12 CST 2003,
   #    mtime=Fri Sep 12 15:41:41 CDT 2003,
   #    ctime=Mon Oct 27 11:20:27 CST 2003,
   #    birthtime=Mon Aug 04 08:13:49 CDT 2003>"

Returns true if stat is writable by the effective user id of this process.

File.stat("testfile").writable?   #=> true

Returns true if stat is a symbolic link, false if it isn’t or if the operating system doesn’t support this feature. As File::stat automatically follows symbolic links, symlink? will always be false for an object returned by File::stat.

File.symlink("testfile", "alink")   #=> 0
File.stat("alink").symlink?         #=> false
File.lstat("alink").symlink?        #=> true

Returns true if stat has its sticky bit set, false if it doesn’t or if the operating system doesn’t support this feature.

File.stat("testfile").sticky?   #=> false

Returns true if key is registered

No documentation available
No documentation available
No documentation available

Returns a human-readable string representation of this instruction sequence, including the label and path.

A summary of cookie string.

No documentation available

This method will return the index of a field with the provided header. The offset can be used to locate duplicate header names, as described in CSV::Row.field().

A summary of fields, by header, in an ASCII compatible String.

Shows the mode and size of this table in a US-ASCII String.

Get the URI of the remote object.

Get the URI of the remote object.

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

Wakes up all threads waiting for this lock.

A setter to toggle transfers in binary mode. newmode is either true or false

Search took: 5ms  ·  Total Results: 2902