Sha256: a3954befe916b50f1c727eccda0419e0f98a0c58ec2e112e20d8bd6b24a5162a
Contents?: true
Size: 333 Bytes
Versions: 515
Compression:
Stored size: 333 Bytes
Contents
class Puppet::Settings::ArraySetting < Puppet::Settings::BaseSetting def type :array end def munge(value) case value when String value.split(/\s*,\s*/) when Array value else raise ArgumentError, _("Expected an Array or String, got a %{klass}") % { klass: value.class } end end end
Version data entries
515 entries across 515 versions & 2 rubygems