RubyGems Navigation menu

inifile 1.0.0

Although made popular by Windows, INI files can be used on any system thanks to their flexibility. They allow a program to store configuration data, which can then be easily parsed and changed. Two notable systems that use the INI format are Samba and Trac. More information about INI files can be found on the [Wikipedia Page](http://en.wikipedia.org/wiki/INI_file). ### Properties The basic element contained in an INI file is the property. Every property has 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 associated with that section. ### Comments All lines beginning with a semicolon *;* or a number sign *#* are considered to be comments. Comment lines are ignored when parsing INI files. ### Example File Format A typical INI file might look like this: [section1] ; some comment on section1 var1 = foo var2 = doodle var3 = multiline values \ are also possible [section2] # another comment var1 = baz var2 = shoodle

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 3.0.0 - August 01, 2014 (18.0 KB)
  2. 2.0.2 - September 15, 2012 (15.0 KB)
  3. 2.0.1 - September 06, 2012 (15.0 KB)
  4. 2.0.0 - August 29, 2012 (15.5 KB)
  5. 1.1.0 - February 28, 2012 (13.5 KB)
  6. 1.0.0 - February 28, 2012 (13.0 KB)
显示所有版本 (共 12 个)

Development 依赖 (2):

bones >= 3.7.2
bones-git >= 1.2.5

业主:

作者:

  • Tim Pease

SHA 256 校验和:

7669a2607e52bb36199f38a401b349ff60ee3638b6c74a4c6b2bc93d46e81480

下载总量 27,915,670

这个版本 4,483

许可:

需要的 Ruby 版本:

链接: