Class: DAP::Relation::Many
- Inherits:
-
Object
- Object
- DAP::Relation::Many
- Defined in:
- lib/dap/relation.rb
Instance Attribute Summary collapse
-
#klazz ⇒ Object
readonly
Returns the value of attribute klazz.
Instance Method Summary collapse
-
#initialize(klazz) ⇒ Many
constructor
A new instance of Many.
Constructor Details
#initialize(klazz) ⇒ Many
Returns a new instance of Many.
9 10 11 12 |
# File 'lib/dap/relation.rb', line 9 def initialize(klazz) DAP::Relation.supported!(klazz) @klazz = klazz end |
Instance Attribute Details
#klazz ⇒ Object (readonly)
Returns the value of attribute klazz.
7 8 9 |
# File 'lib/dap/relation.rb', line 7 def klazz @klazz end |