1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/bigdecimal/bigdecimal.c (BigDecimalCmp): should not ignore

<=> comparison.   [ruby-dev:35732]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2008-08-12 09:47:49 +00:00
parent 79cd32fe3b
commit 5643c0d69a
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Tue Aug 12 18:46:36 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/bigdecimal/bigdecimal.c (BigDecimalCmp): should not ignore
<=> comparison. [ruby-dev:35732]
Tue Aug 12 18:43:10 2008 Tanaka Akira <akr@fsij.org>
* enc/trans/make_transdb.rb: *.erb.c is not used anymore.

View file

@ -734,7 +734,7 @@ BigDecimalCmp(VALUE self, VALUE r,char op)
switch(op)
{
case '*': return Qnil; /* any op */
case '*': f = rb_intern("<=>");break;
case '=': f = rb_intern("=="); break;
case '!': f = rb_intern("!="); break;
case 'G': f = rb_intern(">="); break;