Method: Path#open
- Defined in:
- lib/path/io.rb
#open(*args) {|file| ... } ⇒ Object
Opens the file for reading or writing. See File.open.
6 7 8 |
# File 'lib/path/io.rb', line 6 def open(*args, &block) File.open(@path, *args, &block) end |