Class: Puppet::Settings::ConfigFile::Setting Private

Inherits:
Struct
  • Object
show all
Defined in:
lib/puppet/settings/config_file.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

API:

  • private

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#metaObject

Returns the value of attribute meta

Returns:

  • the current value of meta



71
72
73
# File 'lib/puppet/settings/config_file.rb', line 71

def meta
  @meta
end

#nameObject

Returns the value of attribute name

Returns:

  • the current value of name



71
72
73
# File 'lib/puppet/settings/config_file.rb', line 71

def name
  @name
end

#valueObject

Returns the value of attribute value

Returns:

  • the current value of value



71
72
73
# File 'lib/puppet/settings/config_file.rb', line 71

def value
  @value
end

Instance Method Details

#has_metadata?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

API:

  • private



72
73
74
# File 'lib/puppet/settings/config_file.rb', line 72

def has_metadata?
  meta != NO_META
end