lib/vedeu/repositories/model.rb in vedeu-0.4.16 vs lib/vedeu/repositories/model.rb in vedeu-0.4.17

- old
+ new

@@ -38,9 +38,15 @@ send(:define_method, __callee__) { klass } end alias_method :member, :child alias_method :collection, :child + # @note + # Not current used. + # + # @param klass [void] + # @param as [void] + # @return [void] def repository(klass, as:) self.repository = as klass.register(as, self) end