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 :to_int, # calls object.to_int and returns the result. # -# Returns +nil+ if +object+ does not respond to :to_ary +# Returns +nil+ if +object+ does not respond to :to_int # # Raises an exception unless object.to_int returns an \Integer object. #