Skip to content

Commit 894b388

Browse files
committed
Fix class check for RDoc::TopLevel
1 parent 0f1f1fd commit 894b388

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rdoc/top_level.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ def initialize(file_name)
311311
# An RDoc::TopLevel is equal to another with the same absolute_name
312312

313313
def == other
314-
other.class === self and @absolute_name == other.absolute_name
314+
self.class === other and @absolute_name == other.absolute_name
315315
end
316316

317317
alias eql? ==

0 commit comments

Comments
 (0)