Remove unnecessary path method

This commit is contained in:
Alex Ling
2022-05-22 05:17:05 +00:00
parent e6dbeb623b
commit 5b23a112b2
3 changed files with 4 additions and 12 deletions
+2 -4
View File
@@ -1,12 +1,12 @@
require "image_size"
abstract class Entry
getter id : String, book : Title, title : String,
getter id : String, book : Title, title : String, path : String,
size : String, pages : Int32, mtime : Time,
encoded_path : String, encoded_title : String, err_msg : String?
def initialize(
@id, @title, @book,
@id, @title, @book, @path,
@size, @pages, @mtime,
@encoded_path, @encoded_title, @err_msg
)
@@ -229,8 +229,6 @@ abstract class Entry
extend ClassMethods
end
abstract def path : String
abstract def read_page(page_num)
abstract def page_dimensions