Class: FakeFS::IO
- Inherits:
-
IO
- Object
- IO
- FakeFS::IO
- Defined in:
- lib/fakefs/io.rb
Overview
FakeFS IO class inherit root IO Only minimal mocks are provided as IO may be used by ruby’s internals
Class Method Summary collapse
-
.binread(*args) ⇒ Object
Redirects ::IO.binread to ::FakeFS::File.binread.
-
.read(*args) ⇒ Object
Redirects ::IO.read to ::FakeFS::File.read.
-
.write(*args) ⇒ Object
Redirects ::IO.write to ::FakeFS::File.write.
Class Method Details
.binread(*args) ⇒ Object
Redirects ::IO.binread to ::FakeFS::File.binread
6 7 8 |
# File 'lib/fakefs/io.rb', line 6 def self.binread(*args) ::FakeFS::File.binread(*args) end |