diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-12-11 01:37:50 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-12-11 01:37:50 +0000 |
commit | c5fc4da7a22fa4125afc8b70876b3f7d52404001 (patch) | |
tree | 983237c44c2bdf367d98ab562b0adc8e4fd6f97f /ChangeLog | |
parent | 0468b1bd6ae3197bd4b6fbb09a7b60d609d49604 (diff) | |
download | ruby-c5fc4da7a22fa4125afc8b70876b3f7d52404001.tar.gz |
* object.c (rb_check_to_int): new function to convert a VALUE to
an Integer if possible, but returns nil instead of raising an
exception otherwise.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Sun Dec 11 10:37:47 2011 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * object.c (rb_check_to_int): new function to convert a VALUE to + an Integer if possible, but returns nil instead of raising an + exception otherwise. + Sun Dec 11 10:34:39 2011 Nobuyoshi Nakada <nobu@ruby-lang.org> * process.c (rb_exit_status_code): extract from rb_f_exit_bang and |