Files
Notare/lib/notare/nodes/table.rb
mathias234 843466549a
All checks were successful
CI Pipeline / build (pull_request) Successful in 13s
Support table and table column sizing
2025-12-03 13:50:56 +01:00

22 lines
388 B
Ruby

# 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