Are there equivalents to Ruby's method_missing in other languages?

前端 未结 15 1629
渐次进展
渐次进展 2020-12-08 08:00

In Ruby, objects have a handy method called method_missing which allows one to handle method calls for methods that have not even been (explicitly) defined:

15条回答
提交回复
热议问题