Guest User

Untitled

a guest
Mar 14th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. def fib(n)
  2. {n => :fixnum}
  3.  
  4. if n < 2
  5. n
  6. else
  7. fib(n - 1) + fib(n - 2)
  8. end
  9. end
Add Comment
Please, Sign In to add comment