summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgcd.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcd.rb b/gcd.rb
index 0eefe8a..1fd7d9f 100755
--- a/gcd.rb
+++ b/gcd.rb
@@ -8,7 +8,6 @@ def gcd2 a, b
end
end
-# http://railspikes.com/2008/8/11/understanding-map-and-reduce
def gcdn ns
ns.reduce{ |a, b| gcd2 a, b }
end