module FileMutate::Delete
Public Instance Methods
delete!()
click to toggle source
# File lib/file_mutate/delete.rb, line 18 def delete! File.delete(self.path) end
Also aliased as: delete_file!
mutate(marker, place, &block)
click to toggle source
# File lib/file_mutate/delete.rb, line 23 def mutate marker, place, &block File.mutate_file self.path, marker, place, &block end