Sha256: 4794f23d8312fc0f063f6c51f45ba3bfa694ccd4f468f4ba0b569ea3130400cd
Contents?: true
Size: 325 Bytes
Versions: 9
Compression:
Stored size: 325 Bytes
Contents
module ActiveData module Model module Associations class EmbedsAny < Base private def build_object(attributes) reflection.klass.new(attributes) end def embed_object(object) object.instance_variable_set(:@embedder, owner) end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems