stat.owned? â true or false
Instance Public methods
Returns true
if the effective user id of the process is the
same as the owner of stat.
1 2 | File .stat( "testfile" ).owned? #=> true File .stat( "/etc/passwd" ).owned? #=> false |
Please login to continue.