class DAP::Relation::Many
Indicates a property is expected to be an array of the specified type
Attributes
klazz[R]
The expected element type.
Public Class Methods
new(klazz)
click to toggle source
@param klazz [Class] the expected element type
# File lib/dap/relation.rb, line 14 def initialize(klazz) DAP::Relation.supported!(klazz) @klazz = klazz end