Class: ActiveEntity::Reflection::EmbeddedInReflection

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!, #collection?, #compute_class, #constructable?, #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



442
443
444
# File 'lib/active_entity/reflection.rb', line 442

def association_class
  Associations::Embeds::EmbeddedInAssociation
end

#embedded_in?Boolean

Returns:

  • (Boolean)


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

def embedded_in?; true; end

#macroObject



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

def macro; :embedded_in; end