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



65
66
67
# File 'lib/puppet/settings/config_file.rb', line 65

def meta
  @meta
end

#nameObject

Returns the value of attribute name

Returns:

  • the current value of name



65
66
67
# File 'lib/puppet/settings/config_file.rb', line 65

def name
  @name
end

#valueObject

Returns the value of attribute value

Returns:

  • the current value of value



65
66
67
# File 'lib/puppet/settings/config_file.rb', line 65

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



66
67
68
# File 'lib/puppet/settings/config_file.rb', line 66

def has_metadata?
  meta != NO_META
end