Sha256: 5f5d90990fe50d7e5cd232bb4cbc466780fca765ac25cde2a6b16258732c3107
Contents?: true
Size: 491 Bytes
Versions: 49
Compression:
Stored size: 491 Bytes
Contents
# # value.rb # # Returns the internal form of a given value. # module Puppet::Parser::Functions newfunction(:value, :type => :rvalue, :doc => <<-EOS This function returns the internal form of a given value. EOS ) do |args| value = nil CORL.run do raise(Puppet::ParseError, "value(): Must have a source value specified; " + "given (#{args.size} for 1)") if args.size < 1 value = CORL::Util::Data.value(args[0]) end return value end end
Version data entries
49 entries across 49 versions & 1 rubygems