mirror of
https://github.com/hkalexling/Mango.git
synced 2026-04-25 00:00:52 -04:00
Remove unnecessary path method
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user