事实上,方法定义——def——仅仅是Ruby的宏。
In fact, method definitions — def — are no more than Ruby macros.
youdao
如果这个宏什么都不做的话你不需要定义它。
You need not define this macro if it would do nothing.
应用推荐
模块上移
模块下移
不移动