Sha256: 2bc60ececd88669d824e879074a4691e59d91af91257609c2f06b95f538436a6
Contents?: true
Size: 359 Bytes
Versions: 20
Compression:
Stored size: 359 Bytes
Contents
# frozen_string_literal: true class Puppet::Settings::TerminusSetting < Puppet::Settings::BaseSetting def munge(value) case value when '', nil nil when String value.intern when Symbol value else raise Puppet::Settings::ValidationError, _("Invalid terminus setting: %{value}") % { value: value } end end end
Version data entries
20 entries across 20 versions & 1 rubygems