summaryrefslogtreecommitdiff
path: root/files/functions/slash_escape.rb
diff options
context:
space:
mode:
Diffstat (limited to 'files/functions/slash_escape.rb')
-rw-r--r--files/functions/slash_escape.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/files/functions/slash_escape.rb b/files/functions/slash_escape.rb
deleted file mode 100644
index 04d3b95..0000000
--- a/files/functions/slash_escape.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# escape slashes in a String
-module Puppet::Parser::Functions
- newfunction(:slash_escape, :type => :rvalue) do |args|
- args[0].gsub(/\//, '\\/')
- end
-end
-