Class: Thredded::NullUserTopicReadState

Inherits:
Object
  • Object
show all
Defined in:
app/models/thredded/null_user_topic_read_state.rb

Instance Method Summary collapse

Instance Method Details

#pageObject



5
6
7
# File 'app/models/thredded/null_user_topic_read_state.rb', line 5

def page
  1
end

#post_read?(_post) ⇒ Boolean

Returns:

  • (Boolean)


13
14
15
# File 'app/models/thredded/null_user_topic_read_state.rb', line 13

def post_read?(_post)
  false
end

#read?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'app/models/thredded/null_user_topic_read_state.rb', line 9

def read?
  false
end