Sha256: 7cc7fe2e0d535f1aa994f11e12baf5c21018cacf8305335a999afd74145bb167
Contents?: true
Size: 304 Bytes
Versions: 18
Compression:
Stored size: 304 Bytes
Contents
module EbooksRenamer class MobiParser class << self def parse(filename) meta = Mobi.metadata(File.open(filename)) OpenStruct.new title: meta.title, author: meta.author, publisher: meta.publisher end end end end
Version data entries
18 entries across 18 versions & 1 rubygems