Method: FakeFS::Pathname#binread
- Defined in:
- lib/fakefs/pathname.rb
#binread(*args) ⇒ Object
See IO.binread. Returns all the bytes from the file, or the first N if specified.
649 650 651 |
# File 'lib/fakefs/pathname.rb', line 649 def binread(*args) File.binread(@path, *args) end |