Sha256: 7a7955edd7a33e5c3d2e77ab0cb9ac24ea1e225d2d6c936ffdfd01949d927914

Contents?: true

Size: 823 Bytes

Versions: 4

Compression:

Stored size: 823 Bytes

Contents

# This is a TomlRB document. Boom.

title = "TomlRB Example"

[owner]
name = "Tom Preston-Werner"
organization = "GitHub"
bio = "GitHub Cofounder & CEO\nLikes tater tots and beer."
dob = 1979-05-27T07:32:00Z # First class dates? Why not?

[database]
server = "192.168.1.1"
ports = [ 8001, 8001, 8002 ]
connection_max = 5000
enabled = true

[servers]

  # You can indent as you please. Tabs or spaces. TomlRB don't care.
  [servers.alpha]
  ip = "10.0.0.1"
  dc = "eqdc10"

  [servers.beta]
  ip = "10.0.0.2"
  dc = "eqdc10"

[clients]
data = [ ["gamma", "delta"], [1, 2] ]

# Line breaks are OK when inside arrays
hosts = [
  "alpha",
  "omega"
]

[amqp]
exchange = {durable = true, auto_delete = false}

[[products]]
name = "Hammer"
sku = 738594937

[[products]]

[[products]]
name = "Nail"
sku = 284758393
color = "gray"

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
toml-rb-1.1.2 test/example.toml
toml-rb-hs-1.1.1 test/example.toml
toml-rb-1.1.1 test/example.toml
toml-rb-1.1.0 test/example.toml