3b99ed00a7c2e6f898e650e44789f0ec9c1cb0d1
[puppet_common.git] / plugins / puppet / parser / functions / strlength.rb
1 module Puppet::Parser::Functions
2     newfunction(:strlength, :type => :rvalue) do |args|
3        argv[0].to_s.length 
4     end
5 end
6