fix class loading so variables are set
[puppet_common.git] / lib / puppet / parser / functions / strlength.rb
1 module Puppet::Parser::Functions
2     newfunction(:strlength, :type => :rvalue) do |args|
3        args[0].to_s.length
4     end
5 end
6