Class: FactoryGirlStepHelpers::HumanHashToAttributeHash::CreateAttributes Private
- Inherits:
-
AttributeStrategy
- Object
- AttributeStrategy
- FactoryGirlStepHelpers::HumanHashToAttributeHash::CreateAttributes
- Defined in:
- lib/factory_girl/step_definitions.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary
Attributes inherited from AttributeStrategy
#association_manager, #key, #value
Instance Method Summary collapse
-
#initialize(human_hash_to_attributes_hash, key, value) ⇒ CreateAttributes
constructor
private
A new instance of CreateAttributes.
Constructor Details
#initialize(human_hash_to_attributes_hash, key, value) ⇒ CreateAttributes
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of CreateAttributes.
87 88 89 90 91 92 93 |
# File 'lib/factory_girl/step_definitions.rb', line 87 def initialize(human_hash_to_attributes_hash, key, value) super if association_manager.association @value = association_manager.association_instance end end |