README.md in inifile-1.0.0 vs README.md in inifile-1.1.0

- old
+ new

@@ -1,6 +1,6 @@ -inifile +inifile [![Build Status](https://secure.travis-ci.org/TwP/inifile.png)](http://travis-ci.org/TwP/inifile) ======= This is a native Ruby package for reading and writing INI files. @@ -20,13 +20,10 @@ a name and a value, delimited by an equals sign *=*. The name appears to the left of the equals sign and the value to the right. name=value -All properties must exist within a section. If the file contains a property -before the first section is declared, an error will be raised. - ### Sections Section declarations start with *[* and end with *]* as in `[section1]` and `[section2]` shown in the example below. The section declaration marks the beginning of a section. All properties after the section declaration will be @@ -58,9 +55,16 @@ -------------- The format of INI files is not well defined. Several assumptions are made by the **inifile** gem when parsing INI files. Most of these assumptions can be modified at, but the defaults are listed below. + +### Global Properties + +If the INI file lacks any section declarations, or if there are properties +decalared before the first section, then these properties will be placed into +a default "global" section. The name of this section can be configured when +creating an `IniFile` instance. ### Duplicate Properties Duplicate properties are allowed in a single section. The last property value set is the one that will be stored in the `IniFile` instance.