Method: Path#read

Defined in:
lib/path/io.rb

#read(*args) ⇒ Object

Returns all data from the file, or the first bytes bytes if specified. See IO.read.



19
20
21
# File 'lib/path/io.rb', line 19

def read(*args)
  IO.read(@path, *args)
end