Method: FakeFS::File.atime
- Defined in:
- lib/fakefs/file.rb
.atime(path) ⇒ Object
76 77 78 79 80 81 82 |
# File 'lib/fakefs/file.rb', line 76 def self.atime(path) if exists?(path) FileSystem.find(path).atime else fail Errno::ENOENT end end |