Module: InlineTableArray

Defined in:
lib/toml/inline_table.rb

Instance Method Summary collapse

Instance Method Details

#valueObject



10
11
12
13
14
# File 'lib/toml/inline_table.rb', line 10

def value
  tables = captures[:hash_array].map { |x| x.captures[:inline_table] }

  tables.flatten.map(&:value)
end