Ruby code snippets : fibonacci series

One of the best ways to start learning Ruby is to try out simple programming problems. Let us see how we can generate fibonacci series using Ruby,

This is a verbose an example. You could achieve the same in a single line!

Leave a Reply