Sha256: a97f81534b8a033673175628b4b6d682ba004bcd44930f865062453a89bc2f3a

Contents?: true

Size: 730 Bytes

Versions: 43

Compression:

Stored size: 730 Bytes

Contents

#!/usr/bin/env ruby

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

43 entries across 43 versions & 1 rubygems

Version Path
librex-0.0.65 lib/rex/post/dir.rb
librex-0.0.63 lib/rex/post/dir.rb
librex-0.0.54 lib/rex/post/dir.rb
librex-0.0.53 lib/rex/post/dir.rb
librex-0.0.52 lib/rex/post/dir.rb
librex-0.0.51 lib/rex/post/dir.rb
librex-0.0.50 lib/rex/post/dir.rb
librex-0.0.49 lib/rex/post/dir.rb
librex-0.0.48 lib/rex/post/dir.rb
librex-0.0.47 lib/rex/post/dir.rb
librex-0.0.46 lib/rex/post/dir.rb
librex-0.0.44 lib/rex/post/dir.rb
librex-0.0.43 lib/rex/post/dir.rb
librex-0.0.42 lib/rex/post/dir.rb
librex-0.0.41 lib/rex/post/dir.rb
librex-0.0.40 lib/rex/post/dir.rb
librex-0.0.39 lib/rex/post/dir.rb
librex-0.0.38 lib/rex/post/dir.rb
librex-0.0.37 lib/rex/post/dir.rb
librex-0.0.36 lib/rex/post/dir.rb