Sha256: c86e2d00664644de578771e55fd7ffbbdebbe07c53b98b27b46cde28cae862dd
Contents?: true
Size: 360 Bytes
Versions: 32
Compression:
Stored size: 360 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
32 entries across 32 versions & 1 rubygems