diff options
author | Helen <helen@puppetlabs.com> | 2016-04-18 11:52:26 +0100 |
---|---|---|
committer | Helen <helen@puppetlabs.com> | 2016-04-18 11:52:26 +0100 |
commit | 27236a73b2d6bb362f8125587a8939db562954b8 (patch) | |
tree | cb224d509e26adeea044fedb67e808be7d6fbc57 /lib | |
parent | 768b6ce9f44fd4e8f28caa99fb810696fcbcdc44 (diff) | |
parent | 79c871322f92bd03206ab392f9f2972f3ace97ea (diff) |
Merge pull request #598 from DavidS/MODULES-3271-legacy-ruby
(MODULES-3271) Ensure that is_email_address works on unsupported rubies
Diffstat (limited to 'lib')
-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| |