Method: FakeFS::Pathname#open
- Defined in:
- lib/fakefs/pathname.rb
#open(*args, &block) ⇒ Object
See File.open. Opens the file for reading or writing.
709 710 711 |
# File 'lib/fakefs/pathname.rb', line 709 def open(*args, &block) # :yield: file File.open(@path, *args, &block) end |