Module: AssociationAccessors
- Defined in:
- lib/association_accessors.rb,
lib/association_accessors/version.rb,
lib/association_accessors/test/matcher.rb,
lib/association_accessors/singular_association.rb,
lib/association_accessors/collection_association.rb
Defined Under Namespace
Modules: ClassMethods, Test Classes: CollectionAssociation, SingularAssociation
Constant Summary collapse
- VERSION =
"1.3.1"
Class Attribute Summary collapse
-
.default_attribute ⇒ Object
Returns the value of attribute default_attribute.
Class Method Summary collapse
Class Attribute Details
.default_attribute ⇒ Object
Returns the value of attribute default_attribute.
8 9 10 |
# File 'lib/association_accessors.rb', line 8 def default_attribute @default_attribute end |
Class Method Details
.included(base) ⇒ Object
11 12 13 |
# File 'lib/association_accessors.rb', line 11 def self.included base base.extend ClassMethods end |