Method: FactoryBot::Evaluator#respond_to_missing?

Defined in:
lib/factory_bot/evaluator.rb

#respond_to_missing?(method_name, _include_private = false) ⇒ Boolean

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:

  • (Boolean)


46
47
48
# File 'lib/factory_bot/evaluator.rb', line 46

def respond_to_missing?(method_name, _include_private = false)
  @instance.respond_to?(method_name) || SyntaxRunner.new.respond_to?(method_name)
end