Class: ActiveEntity::Reflection::EmbedsManyReflection

Inherits:
EmbeddedAssociationReflection show all
Defined in:
lib/active_entity/reflection.rb

Overview

:nodoc:

Constant Summary

Constants inherited from EmbeddedAssociationReflection

ActiveEntity::Reflection::EmbeddedAssociationReflection::VALID_AUTOMATIC_INVERSE_MACROS

Instance Attribute Summary

Attributes inherited from EmbeddedAssociationReflection

#parent_reflection, #type

Attributes inherited from MacroEmbeddedReflection

#active_entity, #name, #options

Instance Method Summary collapse

Methods inherited from EmbeddedAssociationReflection

#check_validity!, #compute_class, #constructable?, #embedded_in?, #embeds_one?, #extensions, #has_inverse?, #initialize, #nested?, #validate?

Methods inherited from MacroEmbeddedReflection

#==, #compute_class, #initialize, #klass

Methods inherited from AbstractEmbeddedReflection

#build_association, #check_validity_of_inverse!, #class_name, #embedded?, #inverse_of, #through_reflection?

Methods inherited from AbstractReflection

#embedded?

Constructor Details

This class inherits a constructor from ActiveEntity::Reflection::EmbeddedAssociationReflection

Instance Method Details

#association_classObject



422
423
424
# File 'lib/active_entity/reflection.rb', line 422

def association_class
  Associations::Embeds::EmbedsManyAssociation
end

#collection?Boolean

Returns:

  • (Boolean)


420
# File 'lib/active_entity/reflection.rb', line 420

def collection?; true; end

#macroObject



418
# File 'lib/active_entity/reflection.rb', line 418

def macro; :embeds_many; end