Class: FactoryGirlStepHelpers::HumanHashToAttributeHash::AttributeStrategy Private
- Inherits:
-
Object
- Object
- FactoryGirlStepHelpers::HumanHashToAttributeHash::AttributeStrategy
- 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.
Direct Known Subclasses
Instance Attribute Summary collapse
- #association_manager ⇒ Object readonly private
- #key ⇒ Object readonly private
- #value ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(human_hash_to_attributes_hash, key, value) ⇒ AttributeStrategy
constructor
private
A new instance of AttributeStrategy.
Constructor Details
#initialize(human_hash_to_attributes_hash, key, value) ⇒ AttributeStrategy
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 AttributeStrategy.
68 69 70 71 72 |
# File 'lib/factory_girl/step_definitions.rb', line 68 def initialize(human_hash_to_attributes_hash, key, value) @association_manager = AssociationManager.new(human_hash_to_attributes_hash, key, value) @key = key @value = value end |
Instance Attribute Details
#association_manager ⇒ Object (readonly)
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.
66 67 68 |
# File 'lib/factory_girl/step_definitions.rb', line 66 def association_manager @association_manager end |
#key ⇒ Object (readonly)
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.
66 67 68 |
# File 'lib/factory_girl/step_definitions.rb', line 66 def key @key end |
#value ⇒ Object (readonly)
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.
66 67 68 |
# File 'lib/factory_girl/step_definitions.rb', line 66 def value @value end |