Method: IniFile#delete_section

Defined in:
lib/inifile.rb

#delete_section(section) ⇒ Object

Public: Remove a section identified by name from the IniFile.

section - The section name as a String.

Returns the deleted section Hash.



260
261
262
# File 'lib/inifile.rb', line 260

def delete_section( section )
  @ini.delete section.to_s
end