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.



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

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)


13
14
15
# File 'lib/puppet/provider/splunk_metadata/ini_setting.rb', line 13

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