aboutsummaryrefslogtreecommitdiffstats
path: root/enumerator.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-05 15:45:42 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-05 15:45:42 +0000
commita5eec2490849783e8108f31f5d592f07c73ab852 (patch)
tree3ff3a00710cd5f936502171116a873bd498f2706 /enumerator.c
parent403d132b3c7bbcc5e58fe01aa92115c3a03ba34f (diff)
downloadruby-a5eec2490849783e8108f31f5d592f07c73ab852.tar.gz
numeric.c: raise TypeError at wrong argument
* numeric.c (int_pos_p, int_neg_p): raise TypeError if not an Integer instead of returning nil. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enumerator.c')
0 files changed, 0 insertions, 0 deletions