Sha256: c2d553f794673cb1fb84b789b6c477ebe722fa45d1ce982f5c2d270ff6567b4f

Contents?: true

Size: 481 Bytes

Versions: 4

Compression:

Stored size: 481 Bytes

Contents

require 'rubygems'
require 'bundler/setup'

require 'toml'

doc = "
a = [true, false]
"

puts TOML.load(doc).inspect

# puts TOML.load("a = [[[[1]]]]")["a"].inspect
# puts "[[[[1]]]] <- expected"
# 
# puts TOML.load("a = [1]")["a"].inspect
# puts "[1] <- expected"
# 
# puts TOML.load("a = [1, 2, 3]")["a"].inspect
# puts "[1, 2, 3] <- expected"
# 
# puts TOML.load("a = [[[1], 2], 3]")["a"].inspect
# puts "[[[1], 2], 3] <- expected"
# 
# puts TOML.load("a = [[]]")["a"].inspect

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
toml-0.1.1 test/tmp.rb
toml-0.1.0 test/tmp.rb
toml-0.0.4 test/tmp.rb
toml-0.0.3 test/tmp.rb