Sha256: 221a079d00fc8d1fa612643737f9415a295d5fe858b9a85828a6859a1bf6847e

Contents?: true

Size: 259 Bytes

Versions: 1

Compression:

Stored size: 259 Bytes

Contents

module Vedeu
  class Line
    include Virtus.model

    attribute :colour,  Colour, default: Colour.new
    attribute :streams, StreamCollection
    attribute :style,   Style,  default: ''

    def to_s
      [ colour, style, streams ].join
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vedeu-0.1.10 lib/vedeu/models/line.rb