diff options
Diffstat (limited to 'numeric.rb')
-rw-r--r-- | numeric.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numeric.rb b/numeric.rb index d48a4ee336..eea1ac96cd 100644 --- a/numeric.rb +++ b/numeric.rb @@ -237,7 +237,7 @@ end # Otherwise if +object+ responds to <tt>:to_int</tt>, # calls <tt>object.to_int</tt> and returns the result. # -# Returns +nil+ if +object+ does not respond to <tt>:to_ary</tt> +# Returns +nil+ if +object+ does not respond to <tt>:to_int</tt> # # Raises an exception unless <tt>object.to_int</tt> returns an \Integer object. # |