From 91ea4d11ae7ae450b17ae5d35c1539abe7f35fb9 Mon Sep 17 00:00:00 2001 From: mh Date: Thu, 30 Apr 2009 17:43:09 +0000 Subject: fixing typo --- plugins/puppet/parser/functions/strlength.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/puppet/parser/functions/strlength.rb b/plugins/puppet/parser/functions/strlength.rb index 3b99ed0..8f93e4e 100644 --- a/plugins/puppet/parser/functions/strlength.rb +++ b/plugins/puppet/parser/functions/strlength.rb @@ -1,6 +1,6 @@ module Puppet::Parser::Functions newfunction(:strlength, :type => :rvalue) do |args| - argv[0].to_s.length + args[0].to_s.length end end -- cgit v1.2.3