Symbol#to_procみたいな?
//省略せず scala> Array(1,2,3,4,5).map {value => value.toString } res10: Array[java.lang.String] = Array(1, 2, 3, 4, 5) //_を引数の変数に使えると scala> Array(1,2,3,4,5).map { _.toString } res5: Array[java.lang.String] = Array(1, 2, 3, 4, 5)
#未使用 [1,2,3,4,5].map{|i| i.to_s} => ["1", "2", "3", "4", "5"] #Symbol#to_proc Ruby1.8.7 or Ruby1.9 or Rails [1,2,3,4,5].map(&:to_s) => ["1", "2", "3", "4", "5"]