Tomlex.TableArrayBuilder

Builds an array of tables structure after it has gone through a parsing step

Source

Summary

build(result, list2, used_keys, inner_values)

Builds an array of tables from a previous result, keys and the values to add

Functions

build(result, list2, used_keys, inner_values)

Specs:

Builds an array of tables from a previous result, keys and the values to add.

Examples

iex> Tomlex.TableArrayBuilder.build(%{x: [%{z: 2}]}, [:x], [], %{y: 1})
%{ x: [ %{ z: 2 }, %{ y: 1 } ] }
Source