Files
Notare/lib/notare/nodes/paragraph.rb
mathias234 dec346254c
All checks were successful
CI Pipeline / build (push) Successful in 12s
Project rename
2025-12-02 13:21:13 +01:00

20 lines
307 B
Ruby

# frozen_string_literal: true
module Notare
module Nodes
class Paragraph < Base
attr_reader :runs, :style
def initialize(runs = [], style: nil)
super()
@runs = runs
@style = style
end
def add_run(run)
@runs << run
end
end
end
end