# frozen_string_literal: true module Notare module Nodes class Table < Base attr_reader :rows, :style, :layout, :columns def initialize(style: nil, layout: nil, columns: nil) super() @rows = [] @style = style @layout = layout @columns = columns end def add_row(row) @rows << row end end end end