All pastes #141287 Raw Edit

Mine

public text v1 · immutable
#141287 ·published 2006-08-20 22:26 UTC
rendered paste body
def factorial n
  n * factorial(n - 1) unless n == 1;
end