Sha256: c053b4ccddd5c8c8d157b01a266117ab2a9076cfd40754bd11f2017af1265b8a
Contents?: true
Size: 756 Bytes
Versions: 2
Compression:
Stored size: 756 Bytes
Contents
#!/usr/bin/env ruby # -*- coding: binary -*- module Rex module Post ### # # This class wraps the behavior of the Ruby Dir class against a remote entity. # Refer to the Ruby documentation for expected behavior. # ### class Dir def Dir.entries(name) raise NotImplementedError end def Dir.foreach(name, &block) entries(name).each(&block) end def Dir.chdir(path) raise NotImplementedError end def Dir.mkdir(path) raise NotImplementedError end def Dir.pwd raise NotImplementedError end def Dir.getwd raise NotImplementedError end def Dir.delete(path) raise NotImplementedError end def Dir.rmdir(path) raise NotImplementedError end def Dir.unlink(path) raise NotImplementedError end end end; end # Post/Rex
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
librex-0.0.68 | lib/rex/post/dir.rb |
librex-0.0.66 | lib/rex/post/dir.rb |