Sha256: 67d160137c86db526bed461237168a7e29e4bc24edbd5cb2663e7b9d6bdada96
Contents?: true
Size: 596 Bytes
Versions: 23
Compression:
Stored size: 596 Bytes
Contents
module EPUB class OCF class Container FILE = 'container.xml' attr_reader :rootfiles def initialize @rootfiles = [] end # syntax sugar def rootfile rootfiles.first end class Rootfile attr_accessor :full_path, :media_type, :package # @param full_path [Addressable::URI|nil] # @param media_type [String] def initialize(full_path=nil, media_type=EPUB::MediaType::ROOTFILE) @full_path, @media_type = full_path, media_type end end end end end
Version data entries
23 entries across 23 versions & 1 rubygems