Sha256: 996d7753b007458e768c0aeadd6ea649ca35bc23c4cbaa58f0e98e0bd8cc88d7

Contents?: true

Size: 200 Bytes

Versions: 20

Compression:

Stored size: 200 Bytes

Contents

# frozen_string_literal: true
class Puppet::Settings::StringSetting < Puppet::Settings::BaseSetting
  def type
    :string
  end

  def validate(value)
    value.nil? or value.is_a?(String)
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
puppet-8.3.0 lib/puppet/settings/string_setting.rb
puppet-8.3.0-x86-mingw32 lib/puppet/settings/string_setting.rb
puppet-8.3.0-x64-mingw32 lib/puppet/settings/string_setting.rb
puppet-8.3.0-universal-darwin lib/puppet/settings/string_setting.rb
puppet-8.3.1 lib/puppet/settings/string_setting.rb
puppet-8.3.1-x86-mingw32 lib/puppet/settings/string_setting.rb
puppet-8.3.1-x64-mingw32 lib/puppet/settings/string_setting.rb
puppet-8.3.1-universal-darwin lib/puppet/settings/string_setting.rb
puppet-8.2.0 lib/puppet/settings/string_setting.rb
puppet-8.2.0-x86-mingw32 lib/puppet/settings/string_setting.rb
puppet-8.2.0-x64-mingw32 lib/puppet/settings/string_setting.rb
puppet-8.2.0-universal-darwin lib/puppet/settings/string_setting.rb
puppet-8.1.0 lib/puppet/settings/string_setting.rb
puppet-8.1.0-x86-mingw32 lib/puppet/settings/string_setting.rb
puppet-8.1.0-x64-mingw32 lib/puppet/settings/string_setting.rb
puppet-8.1.0-universal-darwin lib/puppet/settings/string_setting.rb
puppet-8.0.1 lib/puppet/settings/string_setting.rb
puppet-8.0.1-x86-mingw32 lib/puppet/settings/string_setting.rb
puppet-8.0.1-x64-mingw32 lib/puppet/settings/string_setting.rb
puppet-8.0.1-universal-darwin lib/puppet/settings/string_setting.rb