Methods
- #
- C
- D
- E
- F
- G
- M
- N
- O
- P
- R
- S
- T
Included Modules
- Enumerable START:includes
Class Public methods
# File lib/fakefs/dir.rb, line 85 def self.mkdir(string, integer = 0) parent = string.split('/') parent.pop raise Errno::ENOENT, "No such file or directory - #{string}" unless parent.join == "" || FileSystem.find(parent.join('/')) raise Errno::EEXIST, "File exists - #{string}" if File.exists?(string) FileUtils.mkdir_p(string) end
Instance Public methods