Sha256: 9ff214d794ad146ac064818e50dbea3ae520854fcaad955e01c7e5fe89f9eb08
Contents?: true
Size: 468 Bytes
Versions: 1
Compression:
Stored size: 468 Bytes
Contents
require 'zip/zip' require 'nokogiri' require 'epubinfo/parser' require 'epubinfo/models/book' require 'epubinfo/models/person' require 'epubinfo/models/date' require 'epubinfo/models/identifier' require 'epubinfo/utils' module EPUBInfo # Parses an epub file and returns a Book instance. # @return [EPUBInfo::Models::Book] the model def self.get(path) parser = EPUBInfo::Parser.parse(path) EPUBInfo::Models::Book.new(parser.metadata_document) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
epubinfo-0.2.2 | lib/epubinfo.rb |