Sha256: b7c61de57263aa271123870069225649916a207618b19e981b75e722ad95d70c

Contents?: true

Size: 235 Bytes

Versions: 6

Compression:

Stored size: 235 Bytes

Contents

require 'virtus'

require_relative 'collection'
require_relative '../line'

module Vedeu
  class LineCollection < Virtus::Attribute
    include Collection

    def coerce(values)
      coercer(values, Line, :streams)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
vedeu-0.0.39 lib/vedeu/models/attributes/line_collection.rb
vedeu-0.0.38 lib/vedeu/models/attributes/line_collection.rb
vedeu-0.0.37 lib/vedeu/models/attributes/line_collection.rb
vedeu-0.0.36 lib/vedeu/models/attributes/line_collection.rb
vedeu-0.0.35 lib/vedeu/models/attributes/line_collection.rb
vedeu-0.0.34 lib/vedeu/models/attributes/line_collection.rb