Class: ActiveNode::Associations::Builder::HasOne
- Inherits:
-
SingularAssociation
- Object
- Association
- SingularAssociation
- ActiveNode::Associations::Builder::HasOne
- Defined in:
- lib/active_node/associations/builder/has_one.rb
Overview
:nodoc:
Instance Attribute Summary
Attributes inherited from Association
#model, #name, #options, #reflection
Instance Method Summary collapse
Methods inherited from SingularAssociation
#define_constructors, #define_readers, #define_writers
Methods inherited from Association
build, #build, #define_accessors, #define_readers, #define_writers, #initialize, #mixin, #valid_options, #validate_options
Constructor Details
This class inherits a constructor from ActiveNode::Associations::Builder::Association
Instance Method Details
#macro ⇒ Object
3 4 5 |
# File 'lib/active_node/associations/builder/has_one.rb', line 3 def macro :has_one end |