Module: FileHelper::TestSymlinks::Files::Remove
- Included in:
- FileHelper::TestSymlinks::Files
- Defined in:
- lib/file_spec/file_helpers/test_symlinks.rb
Instance Method Summary collapse
- #remove_symlink_file(path) ⇒ Object
- #remove_test_symlink_file ⇒ Object
- #remove_test_symlink_files ⇒ Object
Instance Method Details
#remove_symlink_file(path) ⇒ Object
34 35 36 |
# File 'lib/file_spec/file_helpers/test_symlinks.rb', line 34 def remove_symlink_file path File.delete path if File.symlink? path end |
#remove_test_symlink_file ⇒ Object
38 39 40 |
# File 'lib/file_spec/file_helpers/test_symlinks.rb', line 38 def remove_test_symlink_file remove_symlink_file sym_test_file end |
#remove_test_symlink_files ⇒ Object
42 43 44 |
# File 'lib/file_spec/file_helpers/test_symlinks.rb', line 42 def remove_test_symlink_files sym_test_files.each{|f| remove_symlink_file f} end |