Module: TomlRB::InlineTableArrayParser
- Defined in:
- lib/toml-rb/inline_table.rb
Instance Method Summary collapse
Instance Method Details
#value ⇒ Object
64 65 66 67 68 69 70 |
# File 'lib/toml-rb/inline_table.rb', line 64 def value tables = captures[:inline_table_array_elements].map do |x| x.captures[:inline_table] end TomlRB::InlineTableArray.new(tables.flatten.map(&:value)).value end |