1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/spec/ruby/core
mrkn cc4be225a8 Check the result of to_int in Kernel#Integer
[ruby-core:85813] [Bug #14552]

* object.c (rb_convert_to_integer):
  Check the result of to_int in Kernel#Integer

* test/ruby/test_integer.rb: add tests.

* spec/ruby/core/kernel/Integer_spec.rb: fix examples.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-02-26 07:31:10 +00:00
..
argf
array Add a new #filter alias for #select 2018-02-25 13:52:07 +00:00
basicobject Update to ruby/spec@83063a3 2018-01-29 16:08:16 +00:00
binding Update to ruby/spec@83063a3 2018-01-29 16:08:16 +00:00
builtin_constants
class
comparable
complex Update to ruby/spec@83063a3 2018-01-29 16:08:16 +00:00
dir Update to ruby/spec@83063a3 2018-01-29 16:08:16 +00:00
encoding Update to ruby/spec@83063a3 2018-01-29 16:08:16 +00:00
enumerable Add a new #filter alias for #select 2018-02-25 13:52:07 +00:00
enumerator Update to ruby/spec@83063a3 2018-01-29 16:08:16 +00:00
env Update to ruby/spec@83063a3 2018-01-29 16:08:16 +00:00
exception Update to ruby/spec@83063a3 2018-01-29 16:08:16 +00:00
false
fiber Update to ruby/spec@83063a3 2018-01-29 16:08:16 +00:00
file skip EINVAL on unsupported platform 2018-01-30 02:21:59 +00:00
filetest
float Update to ruby/spec@83063a3 2018-01-29 16:08:16 +00:00
gc
hash Add a new #filter alias for #select 2018-02-25 13:52:07 +00:00
integer Update to ruby/spec@83063a3 2018-01-29 16:08:16 +00:00
io Update to ruby/spec@83063a3 2018-01-29 16:08:16 +00:00
kernel Check the result of to_int in Kernel#Integer 2018-02-26 07:31:10 +00:00
main
marshal
matchdata Update to ruby/spec@83063a3 2018-01-29 16:08:16 +00:00
math
method Update to ruby/spec@83063a3 2018-01-29 16:08:16 +00:00
module Update to ruby/spec@83063a3 2018-01-29 16:08:16 +00:00
mutex
nil
numeric Update to ruby/spec@83063a3 2018-01-29 16:08:16 +00:00
objectspace
proc Update to ruby/spec@83063a3 2018-01-29 16:08:16 +00:00
process groups_spec.rb: get rid of limit on macOS 2018-02-23 08:32:33 +00:00
random
range Update to ruby/spec@83063a3 2018-01-29 16:08:16 +00:00
rational Update to ruby/spec@83063a3 2018-01-29 16:08:16 +00:00
regexp Update to ruby/spec@83063a3 2018-01-29 16:08:16 +00:00
signal Update to ruby/spec@83063a3 2018-01-29 16:08:16 +00:00
string Update to ruby/spec@83063a3 2018-01-29 16:08:16 +00:00
struct Use Process::Tms 2018-02-23 03:45:55 +00:00
symbol Update to ruby/spec@83063a3 2018-01-29 16:08:16 +00:00
systemexit
thread Update to ruby/spec@83063a3 2018-01-29 16:08:16 +00:00
threadgroup
time Update to ruby/spec@83063a3 2018-01-29 16:08:16 +00:00
tracepoint
true
unboundmethod Update to ruby/spec@83063a3 2018-01-29 16:08:16 +00:00
warning