module EPUBInfo

Public Class Methods

get(path) click to toggle source

Parses an epub file and returns a Book instance. @return [EPUBInfo::Models::Book] a model representation of the epub file

# File lib/epubinfo.rb, line 17
def self.get(path)
  parser = EPUBInfo::Parser.parse(path)
  EPUBInfo::Models::Book.new(parser)
end