2014年4月24日
摘要: 上下文探针instance_evalclass MyClass def initialize @v =1 endendobj = MyClass.newobj.instance_eval do self #=> # @v # => 1endv=2obj.instance_eval... 阅读全文
posted @ 2014-04-24 18:18 qinyan20 阅读(219) 评论(0) 推荐(0) 编辑