summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/strlength.rb
blob: 147b24a3bd67fbd346f4ceb83620dd9977855914 (plain)
1
2
3
4
5
6
module Puppet::Parser::Functions
    newfunction(:strlength, :type => :rvalue) do |args|
       args[0].to_s.length
    end
end