diff -Naur rexif-0.4.orig/src/rexif.rb rexif-0.4-cur/src/rexif.rb --- rexif-0.4.orig/src/rexif.rb 2003-02-17 04:04:54.000000000 +0900 +++ rexif-0.4-cur/src/rexif.rb 2004-12-03 21:15:00.000000000 +0900 @@ -1049,7 +1049,6 @@ super end - attr_reader :ifd def is_exif? @is_exif diff -Naur rexif-0.4.orig/src/rjpeg.rb rexif-0.4-cur/src/rjpeg.rb --- rexif-0.4.orig/src/rjpeg.rb 2003-02-17 04:04:54.000000000 +0900 +++ rexif-0.4-cur/src/rjpeg.rb 2004-12-03 21:14:11.000000000 +0900 @@ -624,7 +624,7 @@ def _set_segment_method # get self singular methods list - singular_methods=self.methods-self.type.new.methods + singular_methods=self.methods-self.class.new.methods # create methods without SOI and EOI #