- newfunction(:is_domain_name, :type => :rvalue, :doc => <<-EOS
-Returns true if the string passed to this function is a syntactically correct domain name.
- EOS
- ) do |arguments|
+ newfunction(:is_domain_name, :type => :rvalue, :doc => <<-DOC
+ @summary
+ **Deprecated:** Returns true if the string passed to this function is
+ a syntactically correct domain name.
+
+ @return [Boolean]
+ Returns `true` or `false`