Class: ActiveEntity::Reflection::EmbedsOneReflection
- Inherits:
-
EmbeddedAssociationReflection
- Object
- AbstractReflection
- AbstractEmbeddedReflection
- MacroEmbeddedReflection
- EmbeddedAssociationReflection
- ActiveEntity::Reflection::EmbedsOneReflection
- 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
Attributes inherited from MacroEmbeddedReflection
#active_entity, #name, #options
Instance Method Summary collapse
Methods inherited from EmbeddedAssociationReflection
#check_validity!, #collection?, #compute_class, #constructable?, #embedded_in?, #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
Constructor Details
This class inherits a constructor from ActiveEntity::Reflection::EmbeddedAssociationReflection
Instance Method Details
#association_class ⇒ Object
432 433 434 |
# File 'lib/active_entity/reflection.rb', line 432 def association_class Associations::Embeds::EmbedsOneAssociation end |
#embeds_one? ⇒ Boolean
430 |
# File 'lib/active_entity/reflection.rb', line 430 def ; true; end |
#macro ⇒ Object
428 |
# File 'lib/active_entity/reflection.rb', line 428 def macro; :embeds_one; end |