Sha256: 8c11410e2fe761bd2c32abd9e7b842766808e55d475e240478e300942cf1ae27
Contents?: true
Size: 416 Bytes
Versions: 5
Compression:
Stored size: 416 Bytes
Contents
require 'virtus' require 'vedeu/models/attributes/stream_collection' require 'vedeu/models/colour' require 'vedeu/models/style' module Vedeu class Line include Virtus.model attribute :colour, Colour, default: Colour.new attribute :model, Hash attribute :streams, StreamCollection attribute :style, Style, default: '' def to_s [colour, style, streams].join end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.1.7 | lib/vedeu/models/line.rb |
vedeu-0.1.6 | lib/vedeu/models/line.rb |
vedeu-0.1.5 | lib/vedeu/models/line.rb |
vedeu-0.1.4 | lib/vedeu/models/line.rb |
vedeu-0.1.3 | lib/vedeu/models/line.rb |