Permalink
Browse files

Integer#xgcd: Fix docs

  • Loading branch information...
1 parent b382526 commit 53baf1ecabe3de1461b9b747f2db3da65b0be32a @runpaint committed Oct 17, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/numb/divisors.rb
View
@@ -472,7 +472,7 @@ def exceptional?
# 56.xgcd(72) #=> [8, 4, -3]
#
# @param [Integer] b the number `self` is divided by
- # @returns [Array<Integer>] GCD, `x`, and `y`
+ # @return [Array<Integer>] GCD, `x`, and `y`
def xgcd b
a = self
x, y, u, v = 0, 1, 1, 0

0 comments on commit 53baf1e

Please sign in to comment.