Module: Hashery::Association::Kernel
- Included in:
- Object
- Defined in:
- lib/hashery/association.rb
Overview
Object extensions.
Instance Method Summary (collapse)
-
- (Object) >>(to)
Define an association with self.
- - (Object) associations
Instance Method Details
- (Object) >>(to)
Define an association with self.
113 114 115 |
# File 'lib/hashery/association.rb', line 113 def >>(to) Association.new(self, to) end |
- (Object) associations
117 118 119 |
# File 'lib/hashery/association.rb', line 117 def associations Association.reference[self] end |