diff options
| author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-12-25 21:14:25 +0000 |
|---|---|---|
| committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-12-25 21:14:25 +0000 |
| commit | 693743cfd698b01a902d30720e3ee880cabf6572 (patch) | |
| tree | 63d37f04f4859250922deb67d783165e0b70a2f3 /ext | |
| parent | e6d8b16b97abc516eb569d04fa179228923d04f8 (diff) | |
| download | ruby-693743cfd698b01a902d30720e3ee880cabf6572.tar.gz ruby-693743cfd698b01a902d30720e3ee880cabf6572.tar.xz ruby-693743cfd698b01a902d30720e3ee880cabf6572.zip | |
* ext/bigdecimal/bigdecimal.c: remove useless method BigDecimal#!=. [ruby-dev:30050]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/bigdecimal/bigdecimal.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c index f0e05a979..c4be4e80e 100644 --- a/ext/bigdecimal/bigdecimal.c +++ b/ext/bigdecimal/bigdecimal.c @@ -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); |
