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

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

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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#metaObject

Returns the value of attribute meta


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

def meta
  @meta
end

#nameObject

Returns the value of attribute name


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

def name
  @name
end

#valueObject

Returns the value of attribute 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.


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

def has_metadata?
  meta != NO_META
end