Ruby 1.9: What to Expect

OSCON 2008

Splat in middle


Ruby 1.9
def foo(first, *middle, last)

(->a, *b, c {p a-c}).(*5.downto(1))