Files
Notare/lib/ezdoc/nodes/run.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

19 lines
391 B
Ruby

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