This commit is contained in:
18
lib/notare/nodes/table_row.rb
Normal file
18
lib/notare/nodes/table_row.rb
Normal file
@@ -0,0 +1,18 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Notare
|
||||
module Nodes
|
||||
class TableRow < Base
|
||||
attr_reader :cells
|
||||
|
||||
def initialize
|
||||
super
|
||||
@cells = []
|
||||
end
|
||||
|
||||
def add_cell(cell)
|
||||
@cells << cell
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user