diff options
author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-30 13:46:38 +0000 |
---|---|---|
committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-30 13:46:38 +0000 |
commit | 63324cb36dc07e8759ff4148d64728dabed09fd9 (patch) | |
tree | 10c6ed0a8c4a953994b6fdb2183af62d17b8f570 /math.c | |
parent | e955cff06ce266f90c32c73bc244dda3924c66e4 (diff) |
* math.c: Math::DomainError < StandardException [ruby-core:29855]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'math.c')
-rw-r--r-- | math.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -746,7 +746,7 @@ void Init_Math(void) { rb_mMath = rb_define_module("Math"); - rb_eMathDomainError = rb_define_class_under(rb_mMath, "DomainError", rb_eArgError); + rb_eMathDomainError = rb_define_class_under(rb_mMath, "DomainError", rb_eStandardError); #ifdef M_PI rb_define_const(rb_mMath, "PI", DBL2NUM(M_PI)); |