Merge pull request #598 from DavidS/MODULES-3271-legacy-ruby
(MODULES-3271) Ensure that is_email_address works on unsupported rubies
This commit is contained in:
commit
27236a73b2
1 changed files with 1 additions and 1 deletions
|
@ -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|
|
||||
|
|
Loading…
Reference in a new issue