ext/digest/crc32/crc32_ext.c in digest-crc-0.6.3 vs ext/digest/crc32/crc32_ext.c in digest-crc-0.6.4
- old
+ new
@@ -21,7 +21,8 @@
void Init_crc32_ext()
{
VALUE mDigest = rb_const_get(rb_cObject, rb_intern("Digest"));
VALUE cCRC32 = rb_const_get(mDigest, rb_intern("CRC32"));
+ rb_undef_method(cCRC32, "update");
rb_define_method(cCRC32, "update", Digest_CRC32_update, 1);
}