1 一直不是很理解class << self 的用法,参考了介绍单态方法的https://www.devalot.com/articles/2008/09/ruby-singleton内容 赞微海报分享
近期评论