关于模块还有很多事情要讲。
关于模块的描述(及其实现的规范)。
A description about the module (and the specification it has implemented).
关于模块的一个好处就是可以将其功能附加到任何已有的ruby类,并且可以根据您的需要添加,没有数量限制。
The nice thing about a module is that you can attach its functionality to any existing Ruby class, and you can attach as many as you want.
应用推荐