Class: AssociationWithValue

Inherits:
Object
  • Object
show all
Defined in:
lib/model.rb

Instance Method Summary collapse

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