mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix typo on Integer.try_convert [ci skip]
This commit is contained in:
parent
637c3cfc5d
commit
b32b755ea2
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
#
|
||||
|
|
Loading…
Add table
Reference in a new issue