mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
![]() treatment for subclasses which don't have definitions of to_f method. * numeric.c (Integer#to_f, Fixnum#to_f): move to_f method from Fixnum to Integer. * ext/-test-/integer/my_integer.rb: define helper class for testing to_f method for a subclass of Integer. * ext/-test-/integer/extconf.rb: ditto. * ext/-test-/integer/init.c: ditto. * test/-ext-/integer/test_my_integer.rb: examine to_f method for a subclass of Integer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
||
---|---|---|
.. | ||
array/resize | ||
bignum | ||
bug-3571 | ||
bug-5832 | ||
bug_reporter | ||
class | ||
debug | ||
dln/empty | ||
exception | ||
fatal | ||
file | ||
float | ||
funcall | ||
gvl/call_without_gvl | ||
hash | ||
integer | ||
iseq_load | ||
iter | ||
load/dot.dot | ||
marshal | ||
method | ||
notimplement | ||
num2int | ||
path_to_class | ||
popen_deadlock | ||
postponed_job | ||
printf | ||
proc | ||
rational | ||
recursion | ||
st | ||
string | ||
struct | ||
symbol | ||
time | ||
tracepoint | ||
typeddata | ||
wait_for_single_fd | ||
win32 |