diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-02 06:33:26 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-02 06:33:26 +0000 |
commit | 9a686593c76ac1910914c0318dbc085387aa7a67 (patch) | |
tree | 149a7f1379157559da03c6b99bef515c316c0bb1 /dln.c | |
parent | 9731a745baadd2a1856d729dcd6f7db9cb2c4c13 (diff) |
numeric.c: prefer rb_check_arity
* numeric.c (flo_round, int_to_s, int_round): use rb_check_arity
instead of rb_scan_args for a simple optional argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dln.c')
0 files changed, 0 insertions, 0 deletions