Method: FactoryGirl::EvaluatorClassDefiner#evaluator_class
- Defined in:
- lib/factory_girl/evaluator_class_definer.rb
#evaluator_class ⇒ Object
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.
13 14 15 16 17 18 |
# File 'lib/factory_girl/evaluator_class_definer.rb', line 13 def evaluator_class @evaluator_class ||= Class.new(@parent_class).tap do |klass| klass.attribute_lists ||= [] klass.attribute_lists += [@attributes] end end |