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