Sha256: 5cd0b05a203b3c677484db32c844bcae90d958bc7ec2cff1c0baad687f7405ca

Contents?: true

Size: 182 Bytes

Versions: 7

Compression:

Stored size: 182 Bytes

Contents

module Thredded
  class NullTopic
    def updated_at
      Time.now
    end

    def user
      'Anonymous User'
    end

    def last_user
      'Anonymous User'
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
thredded-0.0.12 app/models/thredded/null_topic.rb
thredded-0.0.10 app/models/thredded/null_topic.rb
thredded-0.0.9 app/models/thredded/null_topic.rb
thredded-0.0.8 app/models/thredded/null_topic.rb
thredded-0.0.7 app/models/thredded/null_topic.rb
thredded-0.0.6 app/models/thredded/null_topic.rb
thredded-0.0.5 app/models/thredded/null_topic.rb