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