Sha256: dc3285743b0e2ce344ac994fd526c6b1c49b1fbb2c61b5ec98fad262f1352f47
Contents?: true
Size: 566 Bytes
Versions: 7
Compression:
Stored size: 566 Bytes
Contents
require 'zip' require 'nokogiri' require 'cgi' require 'epubinfo/parser' require 'epubinfo/models/book' require 'epubinfo/models/cover' require 'epubinfo/models/person' require 'epubinfo/models/date' require 'epubinfo/models/identifier' require 'epubinfo/models/table_of_contents' require 'epubinfo/utils' module EPUBInfo # Parses an epub file and returns a Book instance. # @return [EPUBInfo::Models::Book] a model representation of the epub file def self.get(path) parser = EPUBInfo::Parser.parse(path) EPUBInfo::Models::Book.new(parser) end end
Version data entries
7 entries across 7 versions & 1 rubygems