Sha256: 4ca34bc0287b89fbd3434e8d4d7dad7d766b7e3ad628d5453d2f2d0ad977b35d

Contents?: true

Size: 201 Bytes

Versions: 32

Compression:

Stored size: 201 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

32 entries across 32 versions & 1 rubygems

Version Path
puppet-8.10.0 lib/puppet/settings/string_setting.rb
puppet-8.10.0-x86-mingw32 lib/puppet/settings/string_setting.rb
puppet-8.10.0-x64-mingw32 lib/puppet/settings/string_setting.rb
puppet-8.10.0-universal-darwin lib/puppet/settings/string_setting.rb
puppet-8.9.0 lib/puppet/settings/string_setting.rb
puppet-8.9.0-x86-mingw32 lib/puppet/settings/string_setting.rb
puppet-8.9.0-x64-mingw32 lib/puppet/settings/string_setting.rb
puppet-8.9.0-universal-darwin lib/puppet/settings/string_setting.rb
puppet-8.8.1 lib/puppet/settings/string_setting.rb
puppet-8.8.1-x86-mingw32 lib/puppet/settings/string_setting.rb
puppet-8.8.1-x64-mingw32 lib/puppet/settings/string_setting.rb
puppet-8.8.1-universal-darwin lib/puppet/settings/string_setting.rb
puppet-8.7.0 lib/puppet/settings/string_setting.rb
puppet-8.7.0-x86-mingw32 lib/puppet/settings/string_setting.rb
puppet-8.7.0-x64-mingw32 lib/puppet/settings/string_setting.rb
puppet-8.7.0-universal-darwin lib/puppet/settings/string_setting.rb
puppet-8.6.0 lib/puppet/settings/string_setting.rb
puppet-8.6.0-x86-mingw32 lib/puppet/settings/string_setting.rb
puppet-8.6.0-x64-mingw32 lib/puppet/settings/string_setting.rb
puppet-8.6.0-universal-darwin lib/puppet/settings/string_setting.rb