Class: Thredded::NullUserTopicReadState
- Inherits:
-
Object
- Object
- Thredded::NullUserTopicReadState
- Defined in:
- app/models/thredded/null_user_topic_read_state.rb
Instance Method Summary collapse
- #first_unread_post_page ⇒ Object
- #last_read_post_page ⇒ Object
- #page ⇒ Object
- #post_read?(_post) ⇒ Boolean
- #read? ⇒ Boolean
Instance Method Details
#first_unread_post_page ⇒ Object
17 18 19 |
# File 'app/models/thredded/null_user_topic_read_state.rb', line 17 def first_unread_post_page nil end |
#last_read_post_page ⇒ Object
21 22 23 |
# File 'app/models/thredded/null_user_topic_read_state.rb', line 21 def last_read_post_page 1 end |
#page ⇒ Object
5 6 7 |
# File 'app/models/thredded/null_user_topic_read_state.rb', line 5 def page 1 end |
#post_read?(_post) ⇒ Boolean
13 14 15 |
# File 'app/models/thredded/null_user_topic_read_state.rb', line 13 def post_read?(_post) false end |
#read? ⇒ Boolean
9 10 11 |
# File 'app/models/thredded/null_user_topic_read_state.rb', line 9 def read? false end |