Title / Description
Code def fact(n) (n-1).downto(1) {|x| n *= x; } n; end fact(5)
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code