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

19 lines
392 B
Ruby

# frozen_string_literal: true
module Notare
module Nodes
class Run < Base
attr_reader :text, :bold, :italic, :underline, :style
def initialize(text, bold: false, italic: false, underline: false, style: nil)
super()
@text = text
@bold = bold
@italic = italic
@underline = underline
@style = style
end
end
end
end