summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/functions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/parser/functions.rb')
-rw-r--r--lib/puppet/parser/functions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/functions.rb b/lib/puppet/parser/functions.rb
index 96fccd7cd..75d1c9a31 100644
--- a/lib/puppet/parser/functions.rb
+++ b/lib/puppet/parser/functions.rb
@@ -12,7 +12,7 @@ module Functions
end
# Create a new function type.
- def self.newfunction(name, ftype = :statement, &block)
+ def self.newfunction(name, ftype = :statement, doc = nil, &block)
@functions ||= {}
name = symbolize(name)