Sha256: 2c6d3d677800970e4e1230a813d90c46ad2aff0ad27f50fb5f7f56de913c905b
Contents?: true
Size: 437 Bytes
Versions: 32
Compression:
Stored size: 437 Bytes
Contents
# frozen_string_literal: true 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
32 entries across 32 versions & 1 rubygems