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

21 lines
361 B
Ruby

# frozen_string_literal: true
module Notare
module Nodes
class ListItem < Base
attr_reader :runs, :list_type, :num_id
def initialize(runs = [], list_type:, num_id:)
super()
@runs = runs
@list_type = list_type
@num_id = num_id
end
def add_run(run)
@runs << run
end
end
end
end