Class: SectionNoGlobal
- Inherits:
-
Puppet::Util::IniFile::Section
- Object
- Puppet::Util::IniFile::Section
- SectionNoGlobal
- Defined in:
- lib/puppet/provider/splunk_metadata/ini_setting.rb
Instance Method Summary collapse
-
#initialize(model) ⇒ SectionNoGlobal
constructor
A new instance of SectionNoGlobal.
-
#is_global? ⇒ Boolean
this section is never global, allowing for sections with an empty name ([]).
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 ([])
11 12 13 |
# File 'lib/puppet/provider/splunk_metadata/ini_setting.rb', line 11 def is_global? # rubocop:disable Style/PredicateName false end |