Sha256: 7005649ab2b59cf8b20eb36f31566cafb5efcdaf044b34cfa2eb36c096389914
Contents?: true
Size: 389 Bytes
Versions: 2
Compression:
Stored size: 389 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 :streams, StreamCollection attribute :style, Style, default: '' def to_s [ colour, style, streams ].join end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.1.9 | lib/vedeu/models/line.rb |
vedeu-0.1.8 | lib/vedeu/models/line.rb |