diff options
-rw-r--r-- | plugins/puppet/parser/functions/strlength.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/puppet/parser/functions/strlength.rb b/plugins/puppet/parser/functions/strlength.rb index 8f93e4e..147b24a 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| - args[0].to_s.length + args[0].to_s.length end end |