Module: RIO::Ops::Dir::NonExisting
- Includes:
- ExistOrNot, FileOrDir::NonExisting
- Included in:
- Dir::NonExisting
- Defined in:
- lib/rio/ops/dir.rb
Instance Method Summary collapse
- #mkdir(*args) ⇒ Object
- #mkpath(*args) ⇒ Object
- #rmdir(*args) ⇒ Object (also: #delete, #unlink)
- #rmtree(*args) ⇒ Object (also: #delete!)
Methods included from FileOrDir::NonExisting
Instance Method Details
#mkdir(*args) ⇒ Object
42 43 44 45 |
# File 'lib/rio/ops/dir.rb', line 42 def mkdir(*args) fs.mkdir(self.path,*args); softreset() end |
#mkpath(*args) ⇒ Object
46 47 48 49 |
# File 'lib/rio/ops/dir.rb', line 46 def mkpath(*args) fs.mkpath(self.path,*args); softreset() end |
#rmdir(*args) ⇒ Object Also known as: delete, unlink
50 |
# File 'lib/rio/ops/dir.rb', line 50 def rmdir(*args) self end |
#rmtree(*args) ⇒ Object Also known as: delete!
51 |
# File 'lib/rio/ops/dir.rb', line 51 def rmtree(*args) self end |