Update stdlib and concat to 6.1.0 both
[mirror/dsa-puppet.git] / 3rdparty / modules / stdlib / lib / puppet / parser / functions / intersection.rb
index 0c16722..b46ca58 100644 (file)
@@ -3,12 +3,15 @@
 #
 module Puppet::Parser::Functions
   newfunction(:intersection, :type => :rvalue, :doc => <<-DOC
-    This function returns an array of the intersection of two.
+    @summary
+      This function returns an array of the intersection of two.
 
-    *Examples:*
+    @return
+      an array of the intersection of two.
 
-        intersection(["a","b","c"],["b","c","d"])  # returns ["b","c"]
-        intersection(["a","b","c"],[1,2,3,4])      # returns [] (true, when evaluated as a Boolean)
+    @example Example Usage:
+      intersection(["a","b","c"],["b","c","d"])  # returns ["b","c"]
+      intersection(["a","b","c"],[1,2,3,4])      # returns [] (true, when evaluated as a Boolean)
     DOC
              ) do |arguments|