Open bendmorris opened 6 years ago
method_exists will return true even if an object has a protected method; calling it from Resque will then fail. is_callable only returns true when the method both exists and can be called externally.
method_exists
is_callable
method_exists
will return true even if an object has a protected method; calling it from Resque will then fail.is_callable
only returns true when the method both exists and can be called externally.