diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-03 10:18:14 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-03 10:18:14 +0000 |
commit | 74926fefb7de9ade12ef1dbc4994efe981aaa55a (patch) | |
tree | 82836b85012684734d6edaa678c30e26be5297e7 /ChangeLog | |
parent | 51b89eeb03414636ed144841626f358ba6788303 (diff) | |
download | ruby-74926fefb7de9ade12ef1dbc4994efe981aaa55a.tar.gz |
* object.c (rb_f_integer): now Integer() takes optional base
argument. base will be ignored for non string values.
suggested by Sam Carr at RubyFoo Lounge at London.
* test/ruby/test_integer.rb (TestInteger#test_Integer): test
updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,12 @@ +Sat Oct 3 18:51:11 2009 Yukihiro Matsumoto <matz@ruby-lang.org> + + * object.c (rb_f_integer): now Integer() takes optional base + argument. base will be ignored for non string values. + suggested by Sam Carr at RubyFoo Lounge at London. + + * test/ruby/test_integer.rb (TestInteger#test_Integer): test + updated. + Sat Oct 3 04:34:25 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> * parse.y (assignable_gen): parser_yyerror takes two arguments. |