In message <m28xunjx8g.fsf / lilith.local>, Christian Neukirchen 
<chneukirchen / gmail.com> writes
>def fib(n)
>  (1..n-2).inject([1, 1]) { |(a, b), n| [b, a+b] }.last
>end

Thats about as readable as APL. Maintenance nightmare.

Stephen
-- 
Stephen Kellett
Object Media Limited    http://www.objmedia.demon.co.uk/software.html
Computer Consultancy, Software Development
Windows C++, Java, Assembler, Performance Analysis, Troubleshooting