Class: LiveFixtures::Export::Reference
- Inherits:
-
Struct
- Object
- Struct
- LiveFixtures::Export::Reference
- Defined in:
- lib/live_fixtures/export.rb
Overview
References represent associations between fixtures, in the same way that foreign_keys do for records. These will be initialized for you based on the contents of ‘with_references` passed to `export_fixtures`. They will be initialized with the name of the association (a Symbol) and the particular associated model.
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
21 22 23 |
# File 'lib/live_fixtures/export.rb', line 21 def name @name end |
#value ⇒ Object
Returns the value of attribute value
21 22 23 |
# File 'lib/live_fixtures/export.rb', line 21 def value @value end |