All checks were successful
CI Pipeline / build (pull_request) Successful in 13s
20 lines
294 B
Ruby
20 lines
294 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Notare
|
|
module Nodes
|
|
class TableCell < Base
|
|
attr_reader :runs, :width
|
|
|
|
def initialize(width: nil)
|
|
super()
|
|
@runs = []
|
|
@width = width
|
|
end
|
|
|
|
def add_run(run)
|
|
@runs << run
|
|
end
|
|
end
|
|
end
|
|
end
|