Sha256: b2258a7ff8512f0d1759075957baedbb8df1540924280d66547502097e812cf6

Contents?: true

Size: 271 Bytes

Versions: 2

Compression:

Stored size: 271 Bytes

Contents

module Vedeu
  module Buffer
    class Line
      include Virtus.model
      include Formatting

      attribute :stream, Array[Buffer::Stream]

      def to_compositor
        [{ style: styles, colour: colour }, *stream.map(&:to_compositor)]
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vedeu-0.0.25 lib/vedeu/output/buffer/line.rb
vedeu-0.0.24 lib/vedeu/output/buffer/line.rb