Support table and table column sizing
All checks were successful
CI Pipeline / build (pull_request) Successful in 13s
All checks were successful
CI Pipeline / build (pull_request) Successful in 13s
This commit is contained in:
@@ -3,12 +3,14 @@
|
||||
module Notare
|
||||
module Nodes
|
||||
class Table < Base
|
||||
attr_reader :rows, :style
|
||||
attr_reader :rows, :style, :layout, :columns
|
||||
|
||||
def initialize(style: nil)
|
||||
def initialize(style: nil, layout: nil, columns: nil)
|
||||
super()
|
||||
@rows = []
|
||||
@style = style
|
||||
@layout = layout
|
||||
@columns = columns
|
||||
end
|
||||
|
||||
def add_row(row)
|
||||
|
||||
Reference in New Issue
Block a user