Ruby/Method/call
Материал из Wiki.crossplatform.ru
Версия от 17:55, 13 сентября 2010; ViGOur (Обсуждение | вклад)
uses Method objects.
trane = "this is a test".method(:length) miles = "this is a sub".method("sub") trane.call # 13 miles.call(/iles/, ".")