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

Returns:

  • (Object)

    the current value of meta



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

def meta
  @meta
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



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

def name
  @name
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



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

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:

  • (Boolean)


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

def has_metadata?
  meta != NO_META
end