Skip to content

Commit

Permalink
Fixed .unread? return unexpected value
Browse files Browse the repository at this point in the history
  • Loading branch information
wootaw committed Apr 24, 2016
1 parent 8f47e59 commit 16cdd65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/unread/readable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def read_scope(reader)

def readable_parent
current_klass = self
while(ReadMark.readable_classes.include?(current_klass.superclass)) do
while(ReadMark.readable_classes.include?(current_klass)) do
current_klass = current_klass.superclass
end
current_klass
Expand Down

0 comments on commit 16cdd65

Please sign in to comment.