Class: FactoryGirl::Proxy::AttributesFor
- Inherits:
-
FactoryGirl::Proxy
- Object
- FactoryGirl::Proxy
- FactoryGirl::Proxy::AttributesFor
- Defined in:
- lib/factory_girl/proxy/attributes_for.rb
Overview
:nodoc:
Instance Method Summary collapse
Methods inherited from FactoryGirl::Proxy
#association, ensure_strategy_exists!, #initialize, #run_callbacks
Constructor Details
This class inherits a constructor from FactoryGirl::Proxy
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FactoryGirl::Proxy
Instance Method Details
#result(to_create) ⇒ Object
9 10 11 |
# File 'lib/factory_girl/proxy/attributes_for.rb', line 9 def result(to_create) result_hash end |
#set(attribute, value) ⇒ Object
4 5 6 7 |
# File 'lib/factory_girl/proxy/attributes_for.rb', line 4 def set(attribute, value) return if attribute.is_a? Attribute::Association super end |