Class: AssociationWithValue
- Inherits:
-
Object
- Object
- AssociationWithValue
- Defined in:
- lib/model.rb
Instance Method Summary collapse
-
#initialize(association, value) ⇒ AssociationWithValue
constructor
A new instance of AssociationWithValue.
Constructor Details
#initialize(association, value) ⇒ AssociationWithValue
Returns a new instance of AssociationWithValue.
10 11 12 13 |
# File 'lib/model.rb', line 10 def initialize(association, value) @association = association @value = value end |