unread icon indicating copy to clipboard operation
unread copied to clipboard

Adding a new .read?(current_user) instance method in readable.rb InstanceMethods

Open ishields opened this issue 5 years ago • 0 comments

Currently there is only a .unread? method which means to determine if something is read you need to do !thing.unread(current_user). Would it be a good idea to add a .read?(current_user) method?

def read?(reader)
    !unread?(reader)
end

ishields avatar Mar 13 '20 12:03 ishields