Sha256: a9682bc9bb022e66c949afa1003155ed52619b32719c2eca7118e659cc215311
Contents?: true
Size: 450 Bytes
Versions: 1
Compression:
Stored size: 450 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) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
epubinfo-0.2.1 | lib/epubinfo.rb |