All checks were successful
CI Pipeline / build (pull_request) Successful in 12s
19 lines
391 B
Ruby
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
|