ruby/ext
mrkn b60a7b43fe * numeric.c (int_to_f, fix_to_f): rename fix_to_f to int_to_f, and add
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
2016-03-18 14:52:46 +00:00
..
-test- * numeric.c (int_to_f, fix_to_f): rename fix_to_f to int_to_f, and add 2016-03-18 14:52:46 +00:00
bigdecimal * ext/bigdecimal/bigdecimal.gemspec: bump version to 1.2.8. 2015-12-22 12:20:28 +00:00
cgi/escape cgi/escape: Optimize CGI.unescape 2016-02-21 04:57:57 +00:00
continuation handle ext/ as r53141 2015-12-16 05:31:54 +00:00
coverage vm_core.h: use RUBY_ASSERT 2016-01-22 08:37:36 +00:00
date * ext/date/date_core.c (datetime_to_time): preserve timezone info 2016-03-18 01:26:12 +00:00
dbm handle ext/ as r53141 2015-12-16 05:31:54 +00:00
digest handle ext/ as r53141 2015-12-16 05:31:54 +00:00
etc handle ext/ as r53141 2015-12-16 05:31:54 +00:00
fcntl handle ext/ as r53141 2015-12-16 05:31:54 +00:00
fiber handle ext/ as r53141 2015-12-16 05:31:54 +00:00
fiddle * ext/fiddle/handle.c: check tainted string arguments. 2015-12-16 12:08:49 +00:00
gdbm handle ext/ as r53141 2015-12-16 05:31:54 +00:00
io wait readable/writable 2016-01-24 07:55:05 +00:00
json handle ext/ as r53141 2015-12-16 05:31:54 +00:00
mathn handle ext/ as r53141 2015-12-16 05:31:54 +00:00
nkf * ext/nkf/nkf-utf8/utf8tbl.c: fix a typo. 2015-12-18 00:42:49 +00:00
objspace vm_core.h: use RUBY_ASSERT 2016-01-22 08:37:36 +00:00
openssl document OpenSSL::SSL::SSLContext#setup as MT-unsafe 2016-03-14 01:20:14 +00:00
pathname handle ext/ as r53141 2015-12-16 05:31:54 +00:00
psych stdlib: avoid extra calls to eliminate "\n" from Base64 2016-01-10 00:35:43 +00:00
pty * ext/pty/pty.c: fix double words typo. 2015-12-18 00:44:52 +00:00
racc/cparse handle ext/ as r53141 2015-12-16 05:31:54 +00:00
rbconfig/sizeof common.mk: source dependency for nmake 2016-01-22 12:30:31 +00:00
readline handle ext/ as r53141 2015-12-16 05:31:54 +00:00
ripper Fix Ripper.lex error in dedenting squiggly heredoc 2016-02-02 23:21:34 +00:00
sdbm handle ext/ as r53141 2015-12-16 05:31:54 +00:00
socket socket/option.c: accurate condition 2016-03-17 02:36:28 +00:00
stringio stringio: binmode sets encoding to ASCII-8BIT 2016-01-04 20:45:14 +00:00
strscan * re.c: Introduce RREGEXP_PTR. 2016-02-02 04:39:44 +00:00
syslog handle ext/ as r53141 2015-12-16 05:31:54 +00:00
thread handle ext/ as r53141 2015-12-16 05:31:54 +00:00
tk * ext/tk/lib/tkextlib/tcllib/tablelist_tile.rb: fix method name typo. 2016-03-07 15:28:57 +00:00
win32 win32/resolv.rb: invert the condition 2016-02-15 04:23:15 +00:00
win32ole win32ole_event.c: use rb_write_error_str 2016-03-07 01:58:09 +00:00
zlib * ext/zlib/zlib.c: Document mtime header behavior with patch by @schneems 2016-02-09 05:33:35 +00:00
.document * ext/win32ole/win32ole.c: separate WIN32OLE::VARIANT src file 2014-08-02 14:55:36 +00:00
Setup cgi/escape: Optimize CGI.escapeHTML 2015-12-20 11:54:54 +00:00
Setup.atheos cgi/escape: Optimize CGI.escapeHTML 2015-12-20 11:54:54 +00:00
Setup.nacl cgi/escape: Optimize CGI.escapeHTML 2015-12-20 11:54:54 +00:00
Setup.nt cgi/escape: Optimize CGI.escapeHTML 2015-12-20 11:54:54 +00:00
extmk.rb extmk.rb: cygwin case 2016-02-19 02:09:06 +00:00