summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Schmitt <david.schmitt@puppetlabs.com>2016-04-18 09:46:30 +0100
committerDavid Schmitt <david.schmitt@puppetlabs.com>2016-04-18 09:46:30 +0100
commit79c871322f92bd03206ab392f9f2972f3ace97ea (patch)
treec1f6513cf7d160ce7b495442717124d124f9f88f
parent733508677dbafe3e48bf170342d2f4ee0f1c3201 (diff)
(MODULES-3271) Ensure that is_email_address works on unsupported rubies
-rw-r--r--lib/puppet/parser/functions/is_email_address.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/functions/is_email_address.rb b/lib/puppet/parser/functions/is_email_address.rb
index ab8d075..4fb0229 100644
--- a/lib/puppet/parser/functions/is_email_address.rb
+++ b/lib/puppet/parser/functions/is_email_address.rb
@@ -3,7 +3,7 @@
#
module Puppet::Parser::Functions
- newfunction(:is_email_address, type: :rvalue, doc: <<-EOS
+ newfunction(:is_email_address, :type => :rvalue, :doc => <<-EOS
Returns true if the string passed to this function is a valid email address.
EOS
) do |arguments|