Update stdlib and concat to 6.1.0 both
[mirror/dsa-puppet.git] / 3rdparty / modules / stdlib / lib / puppet / parser / functions / glob.rb
index e9d35b2..5475b74 100644 (file)
@@ -2,9 +2,15 @@
 #  glob.rb
 #
 module Puppet::Parser::Functions
-  newfunction(:glob, :type => :rvalue, :doc => <<-'DOC'
-    Returns an Array of file entries of a directory or an Array of directories.
-    Uses same patterns as Dir#glob
+  newfunction(:glob, :type => :rvalue, :doc => <<-DOC
+    @summary
+      Uses same patterns as Dir#glob.
+
+    @return
+      Returns an Array of file entries of a directory or an Array of directories.
+
+    @example Example Usage:
+      $confs = glob(['/etc/**/*.conf', '/opt/**/*.conf'])
     DOC
              ) do |arguments|