Class: SectionNoGlobal

Inherits:
Puppet::Util::IniFile::Section
  • Object
show all
Defined in:
lib/puppet/provider/splunk_metadata/ini_setting.rb

Instance Method Summary collapse

Constructor Details

#initialize(model) ⇒ SectionNoGlobal

Returns a new instance of SectionNoGlobal.



4
5
6
7
8
# File 'lib/puppet/provider/splunk_metadata/ini_setting.rb', line 4

def initialize(model)
  super(model.name, model.start_line, model.end_line,
    model.instance_variable_get(:@existing_settings),
    model.indentation)
end

Instance Method Details

#is_global?Boolean

this section is never global, allowing for sections with an empty name ([])

Returns:

  • (Boolean)


11
12
13
# File 'lib/puppet/provider/splunk_metadata/ini_setting.rb', line 11

def is_global? # rubocop:disable Style/PredicateName
  false
end