Sha256: 7debc256d35af0694dcb33992d16b306a7e02fb72f4f7d9de290da2b3bbf2de2
Contents?: true
Size: 406 Bytes
Versions: 120
Compression:
Stored size: 406 Bytes
Contents
require_relative '../../puppet/coercion' # This specialized {Puppet::Parameter} handles Boolean options, accepting lots # of strings and symbols for both truth and falsehood. # class Puppet::Parameter::Boolean < Puppet::Parameter def unsafe_munge(value) Puppet::Coercion.boolean(value) end def self.initvars super @value_collection.newvalues(*Puppet::Coercion.boolean_values) end end
Version data entries
120 entries across 120 versions & 1 rubygems