* transcode.c (trans_open_i): check the result of rb_transcoding_open.
[ruby-svn.git] / benchmark / other-lang / fib.rb
blobec587eabe02c9101a97e232f496de69772197efa
1 def fib n
2   if n < 3
3     1
4   else
5     fib(n-1) + fib(n-2)
6   end
7 end
9 fib(34)