Sha256: 865268a52a0da149dc9bed4fa865b01cda3eca1c9d89be7bea207c7df9eeea07

Contents?: true

Size: 275 Bytes

Versions: 1

Compression:

Stored size: 275 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

1 entries across 1 versions & 1 rubygems

Version Path
vedeu-0.0.23 lib/vedeu/output/buffer/line.rb