Ruby method like `self` that refers to instance

前端 未结 5 431
迷失自我
迷失自我 2021-02-02 13:50

Is there a method in Ruby that refers to the current instance of a class, in the way that self refers to the class itself?

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