Module: RIO::FS::Dir
- Included in:
- Native, ZipFile::InFile::FS, ZipFile::RootDir::FS
- Defined in:
- lib/rio/fs/impl.rb
Instance Method Summary collapse
- #chdir(s, &block) ⇒ Object
- #entries(s) ⇒ Object
- #foreach(s, &block) ⇒ Object
- #getwd ⇒ Object
- #glob(gstr, *args, &block) ⇒ Object
- #mkdir(s, *args) ⇒ Object
- #pwd ⇒ Object
- #rmdir(s) ⇒ Object
Instance Method Details
#chdir(s, &block) ⇒ Object
61 |
# File 'lib/rio/fs/impl.rb', line 61 def chdir(s,&block) @dir.chdir(s.to_s,&block) end |
#entries(s) ⇒ Object
63 |
# File 'lib/rio/fs/impl.rb', line 63 def entries(s) @dir.entries(s.to_s) end |
#foreach(s, &block) ⇒ Object
62 |
# File 'lib/rio/fs/impl.rb', line 62 def foreach(s,&block) @dir.foreach(s.to_s,&block) end |
#getwd ⇒ Object
66 |
# File 'lib/rio/fs/impl.rb', line 66 def getwd() @dir.getwd end |
#glob(gstr, *args, &block) ⇒ Object
64 |
# File 'lib/rio/fs/impl.rb', line 64 def glob(gstr,*args,&block) @dir.glob(gstr,*args,&block) end |
#mkdir(s, *args) ⇒ Object
60 |
# File 'lib/rio/fs/impl.rb', line 60 def mkdir(s,*args) @dir.mkdir(s.to_s,*args) end |
#pwd ⇒ Object
65 |
# File 'lib/rio/fs/impl.rb', line 65 def pwd() @dir.pwd end |
#rmdir(s) ⇒ Object
59 |
# File 'lib/rio/fs/impl.rb', line 59 def rmdir(s) @dir.rmdir(s.to_s) end |