* ext/bigdecimal/bigdecimal.c: remove useless method BigDecimal#!=. [ruby-dev:30050]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
219fafd4d2
commit
618b9c5fec
@ -1,3 +1,8 @@
|
||||
Tue Dec 26 06:13:08 2006 Minero Aoki <aamine@loveruby.net>
|
||||
|
||||
* ext/bigdecimal/bigdecimal.c: remove useless method
|
||||
BigDecimal#!=. [ruby-dev:30050]
|
||||
|
||||
Thu Dec 21 15:37:17 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* string.c (rb_str_slice_bang): rdoc description bug fixed.
|
||||
|
@ -781,17 +781,6 @@ BigDecimal_eq(VALUE self, VALUE r)
|
||||
return BigDecimalCmp(self, r, '=');
|
||||
}
|
||||
|
||||
/* Returns true if the values are not equal in value. Values may be coerced
|
||||
* to perform the comparison:
|
||||
*
|
||||
* BigDecimal.new('1.0') != 1.0 -> false
|
||||
*/
|
||||
static VALUE
|
||||
BigDecimal_ne(VALUE self, VALUE r)
|
||||
{
|
||||
return BigDecimalCmp(self, r, '!');
|
||||
}
|
||||
|
||||
/* call-seq:
|
||||
* a < b
|
||||
*
|
||||
@ -1921,7 +1910,6 @@ Init_bigdecimal(void)
|
||||
rb_define_method(rb_cBigDecimal, "==", BigDecimal_eq, 1);
|
||||
rb_define_method(rb_cBigDecimal, "===", BigDecimal_eq, 1);
|
||||
rb_define_method(rb_cBigDecimal, "eql?", BigDecimal_eq, 1);
|
||||
rb_define_method(rb_cBigDecimal, "!=", BigDecimal_ne, 1);
|
||||
rb_define_method(rb_cBigDecimal, "<", BigDecimal_lt, 1);
|
||||
rb_define_method(rb_cBigDecimal, "<=", BigDecimal_le, 1);
|
||||
rb_define_method(rb_cBigDecimal, ">", BigDecimal_gt, 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user