Update stdlib and concat to 6.1.0 both
[mirror/dsa-puppet.git] / 3rdparty / modules / stdlib / lib / puppet / parser / functions / to_bytes.rb
index bff24b0..b7de587 100644 (file)
@@ -3,7 +3,12 @@
 #
 module Puppet::Parser::Functions
   newfunction(:to_bytes, :type => :rvalue, :doc => <<-DOC
-    Converts the argument into bytes, for example 4 kB becomes 4096.
+    @summary
+        Converts the argument into bytes, for example 4 kB becomes 4096.
+
+    @return
+      converted value into bytes
+
     Takes a single string value as an argument.
     These conversions reflect a layperson's understanding of
     1 MB = 1024 KB, when in fact 1 MB = 1000 KB, and 1 MiB = 1024 KiB.