Files
Notare/lib/notare/nodes/table.rb
mathias234 9a70d91fd5
All checks were successful
CI Pipeline / build (pull_request) Successful in 14s
Implement table styles
2025-12-03 12:14:31 +01:00

20 lines
290 B
Ruby

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