All checks were successful
CI Pipeline / build (pull_request) Successful in 12s
Adds these new styling and formatting nodes * strike * highlight * linebreaks * pagebreaks * Hyperlinks
19 lines
256 B
Ruby
19 lines
256 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Notare
|
|
module Nodes
|
|
class Break < Base
|
|
attr_reader :type
|
|
|
|
def initialize(type: :line)
|
|
super()
|
|
@type = type
|
|
end
|
|
|
|
def page?
|
|
type == :page
|
|
end
|
|
end
|
|
end
|
|
end
|