File: inline-table-duplicate-key.toml

package info (click to toggle)
ruby-toml-rb 4.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 1,840 kB
  • sloc: ruby: 1,350; makefile: 6
file content (6 lines) | stat: -rw-r--r-- 226 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
# Inline tables fully define the keys and sub-tables within them. 
# So, inline tables can not be used to add keys
# or sub-tables to an already-defined table.
[product]
type.name = "Nail"
type = { edible = false }  # INVALID