阅读背景:

如果你把@x = 5放在类定义之后呢?

来源:互联网 

1) What is the role of @x in this code? Its not an instance variable right? Because there was no attr_accessor , or initialize method in my code. (if i remember correctly)1) What is the role of @x in this code? Its not




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: