ruby中的send方法:
如 对象obj
hello()是对象obj的方法
则 obj.hello()和obj.send(obj)效果是一样的。
下面是ruby帮助文档中对send的解释:
| obj.send( aSymbol [, args ]* ) -> anObject | ||||||||||||||||||||
Invokes the method identified by aSymbol, passing it any arguments
specified. You can use __send__ if the name send
clashes with an existing method in obj.
| ||||||||||||||||||||