Method: FactoryBot::Evaluator#method_missing
- Defined in:
- lib/factory_bot/evaluator.rb
#method_missing(method_name) ⇒ 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.
38 39 40 41 42 43 44 |
# File 'lib/factory_bot/evaluator.rb', line 38 def method_missing(method_name, ...) if @instance.respond_to?(method_name) @instance.send(method_name, ...) else SyntaxRunner.new.send(method_name, ...) end end |