Sha256: 8fbbf75c7ec46d619b86bc7dac5645cd7b34462b50411df16a50eb1682522b86

Contents?: true

Size: 199 Bytes

Versions: 18

Compression:

Stored size: 199 Bytes

Contents

# frozen_string_literal: true

module Thredded
  class NullUserTopicReadState
    def page
      1
    end

    def read?
      false
    end

    def post_read?(_post)
      false
    end
  end
end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
threddedDANIEL-0.14.5 app/models/thredded/null_user_topic_read_state.rb
thredded-0.14.4 app/models/thredded/null_user_topic_read_state.rb
thredded-0.14.3 app/models/thredded/null_user_topic_read_state.rb
thredded-0.14.2 app/models/thredded/null_user_topic_read_state.rb
thredded-0.14.1 app/models/thredded/null_user_topic_read_state.rb
thredded-0.14.0 app/models/thredded/null_user_topic_read_state.rb
thredded-0.13.8 app/models/thredded/null_user_topic_read_state.rb
thredded-0.13.7 app/models/thredded/null_user_topic_read_state.rb
thredded-0.13.6 app/models/thredded/null_user_topic_read_state.rb
thredded-0.13.5 app/models/thredded/null_user_topic_read_state.rb
thredded-0.13.4 app/models/thredded/null_user_topic_read_state.rb
thredded-0.13.3 app/models/thredded/null_user_topic_read_state.rb
thredded-0.13.2 app/models/thredded/null_user_topic_read_state.rb
thredded-0.13.1 app/models/thredded/null_user_topic_read_state.rb
thredded-0.13.0 app/models/thredded/null_user_topic_read_state.rb
thredded-0.12.4 app/models/thredded/null_user_topic_read_state.rb
thredded-0.12.3 app/models/thredded/null_user_topic_read_state.rb
thredded-0.12.2 app/models/thredded/null_user_topic_read_state.rb