class EpubReader::Image

Attributes

path[R]

Public Class Methods

new(path) click to toggle source
# File lib/epub_reader/image.rb, line 3
def initialize path
  raise EpubReader::FileNotExistsException, "image file #{path} not exists" unless File.exists?(path)
  @path = path
end