post sets: eliminate PostSets::Base class.

This commit is contained in:
evazion
2020-01-17 01:12:16 -06:00
parent ed75db8d93
commit 9bce0b3743
3 changed files with 1 additions and 44 deletions

View File

@@ -1,39 +0,0 @@
module PostSets
class Base
def raw
false
end
def wiki_page
nil
end
def artist
nil
end
def is_single_tag?
false
end
def tag_string
nil
end
def unknown_post_count?
false
end
def use_sequential_paginator?
false
end
def best_post
nil
end
def presenter
raise NotImplementedError
end
end
end

View File

@@ -1,5 +1,5 @@
module PostSets
class Post < PostSets::Base
class Post
MAX_PER_PAGE = 200
attr_reader :tag_array, :page, :raw, :random, :post_count, :format

View File

@@ -1,4 +0,0 @@
module PostSets
class SearchError < StandardError
end
end