4 Matching Annotations
- Feb 2020
-
stackoverflow.com stackoverflow.com
-
It's a good practice to create respond_to_missing? if you are overriding method_missing. That way, the class will tell you the method you are calling exists, even though it's not explicitly declared.
-
-
Without respond_to_missing? defined, trying to get the method via method will fail:
-