Method: FakeFS::Pathname#readlines

Defined in:
lib/fakefs/pathname.rb

#readlines(*args) ⇒ Object

See IO.readlines. Returns all the lines from the file.



638
639
640
# File 'lib/fakefs/pathname.rb', line 638

def readlines(*args)
  File.readlines(@path, *args)
end