Evolution of a Ruby Programmer.rb

How to you def factorial?