You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 19, 2021. It is now read-only.
When somebody tries to invoke a protected or private, method_missing can be used to implement smarter error handling since method_missing is invoked even though the protected or private method is technically not missing but just not callable from a certain scope. Utilizing this feature, it would be possible to produce a more meaningful message explaining the user that an Operation needs to be invoked using the #perform or .perform method.
When somebody tries to invoke a
protectedorprivate,method_missingcan be used to implement smarter error handling sincemethod_missingis invoked even though theprotectedorprivatemethod is technically not missing but just not callable from a certain scope. Utilizing this feature, it would be possible to produce a more meaningful message explaining the user that anOperationneeds to be invoked using the#performor.performmethod.