diff options
author | David Schmitt <david.schmitt@puppetlabs.com> | 2016-04-18 09:46:30 +0100 |
---|---|---|
committer | David Schmitt <david.schmitt@puppetlabs.com> | 2016-04-18 09:46:30 +0100 |
commit | 79c871322f92bd03206ab392f9f2972f3ace97ea (patch) | |
tree | c1f6513cf7d160ce7b495442717124d124f9f88f /lib/puppet | |
parent | 733508677dbafe3e48bf170342d2f4ee0f1c3201 (diff) |
(MODULES-3271) Ensure that is_email_address works on unsupported rubies
Diffstat (limited to 'lib/puppet')
-rw-r--r-- | lib/puppet/parser/functions/is_email_address.rb | 2 |
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| |