grpowned?

stat.grpowned? â true or false
Instance Public methods

Returns true if the effective group id of the process is the same as the group id of stat. On Windows NT, returns false.

File.stat("testfile").grpowned?      #=> true
File.stat("/etc/passwd").grpowned?   #=> false
doc_ruby_on_rails
2015-04-06 06:59:37
Comments
Leave a Comment

Please login to continue.