Class FakeFS::File::Stat
In: lib/fakefs/file.rb
Parent: Object

FakeFS Stat class

Methods

<=>   directory?   file?   ftype   new   nlink   readable?   size   sticky?   symlink?   world_readable?   world_writable?   writable?   zero?  

Included Modules

Comparable

Attributes

atime  [R] 
birthtime  [R] 
ctime  [R] 
gid  [R] 
mode  [R] 
mtime  [R] 
uid  [R] 

Public Class methods

Public Instance methods

assumes, like above, that all files are readable and writable.

Assume nothing is sticky.

World_writable and readable are platform dependent usually comparing with S_IROTH defined on compilation (MRI)

[Validate]