]> gitweb.fluxo.info Git - puppet-stdlib.git/commitdiff
Minor changes.
authorKrzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Thu, 28 Apr 2011 02:42:37 +0000 (03:42 +0100)
committerKrzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Thu, 28 Apr 2011 02:42:37 +0000 (03:42 +0100)
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
count.rb
empty.rb
includes.rb
range.rb

index c4a5977d6b06ca22c282f1264ba3b34954ec918a..9ea403327f36ae51a0de598009f30c3955e3c75a 100644 (file)
--- a/count.rb
+++ b/count.rb
@@ -3,6 +3,7 @@
 #
 
 # TODO(Krzysztof Wilczynski): We need to add support for regular expression ...
+# TODO(Krzysztof Wilczynski): Support for strings and hashes too ..
 
 module Puppet::Parser::Functions
   newfunction(:count, :type => :rvalue, :doc => <<-EOS
index b83ece0e61bdd3d4c4cac2a6d46bc0f06a9a9d5a..2e75c61a4b7d745fa53175b969fbe1625a84df35 100644 (file)
--- a/empty.rb
+++ b/empty.rb
@@ -2,6 +2,8 @@
 # empty.rb
 #
 
+# TODO(Krzysztof Wilczynski): Support for hashes would be nice too ...
+
 module Puppet::Parser::Functions
   newfunction(:empty, :type => :rvalue, :doc => <<-EOS
     EOS
index 6207bf7bcdbf19b4c68698685f4ec28ae217ab52..a491a76c500580806311ee16ea6ed463d257c790 100644 (file)
@@ -3,6 +3,7 @@
 #
 
 # TODO(Krzysztof Wilczynski): We need to add support for regular expression ...
+# TODO(Krzysztof Wilczynski): Support for strings and hashes too ...
 
 module Puppet::Parser::Functions
   newfunction(:includes, :type => :rvalue, :doc => <<-EOS
index 0c513efbd25385ad9d1e6f633500d15a47d882a7..a6a9f2290b4fe42d8d7357be9d1a4efbfb10f9d8 100644 (file)
--- a/range.rb
+++ b/range.rb
@@ -7,6 +7,7 @@ module Puppet::Parser::Functions
     EOS
   ) do |arguments|
 
+    # We support more than one argument but at least one is mandatory ...
     raise(Puppet::ParseError, "range(): Wrong number of " +
       "arguments given (#{arguments.size} for 1)") if arguments.size < 1