Sha256: af17c486e558e0e162508b2cd16ade1491db0de910cd5aad2eb713babde58279

Contents?: true

Size: 251 Bytes

Versions: 13

Compression:

Stored size: 251 Bytes

Contents

require 'virtus'

require 'vedeu/models/attributes/collection'
require 'vedeu/models/line'

module Vedeu
  class LineCollection < Virtus::Attribute
    include Collection

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
vedeu-0.1.9 lib/vedeu/models/attributes/line_collection.rb
vedeu-0.1.8 lib/vedeu/models/attributes/line_collection.rb
vedeu-0.1.7 lib/vedeu/models/attributes/line_collection.rb
vedeu-0.1.6 lib/vedeu/models/attributes/line_collection.rb
vedeu-0.1.5 lib/vedeu/models/attributes/line_collection.rb
vedeu-0.1.4 lib/vedeu/models/attributes/line_collection.rb
vedeu-0.1.3 lib/vedeu/models/attributes/line_collection.rb
vedeu-0.1.2 lib/vedeu/models/attributes/line_collection.rb
vedeu-0.1.1 lib/vedeu/models/attributes/line_collection.rb
vedeu-0.1.0 lib/vedeu/models/attributes/line_collection.rb
vedeu-0.0.42 lib/vedeu/models/attributes/line_collection.rb
vedeu-0.0.41 lib/vedeu/models/attributes/line_collection.rb
vedeu-0.0.40 lib/vedeu/models/attributes/line_collection.rb