fixing typo
authormh <mh@immerda.ch>
Thu, 30 Apr 2009 17:43:09 +0000 (17:43 +0000)
committerMicah Anderson <micah@riseup.net>
Thu, 2 Sep 2010 22:10:44 +0000 (18:10 -0400)
plugins/puppet/parser/functions/strlength.rb

index 3b99ed0..8f93e4e 100644 (file)
@@ -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