Files
Notare/lib/ezdoc/nodes/paragraph.rb
mathias234 58492e9ef6
All checks were successful
CI Pipeline / build (pull_request) Successful in 12s
Implement styles
2025-12-02 12:02:51 +01:00

20 lines
306 B
Ruby

# frozen_string_literal: true
module Ezdoc
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