Sha256: 2f255339b5721aadf30c93bfe691b232914f1a660755ccf09843aa9f65df9947

Contents?: true

Size: 332 Bytes

Versions: 15

Compression:

Stored size: 332 Bytes

Contents

module EPUB
  class OCF
    class Container
      FILE = 'container.xml'

      attr_accessor :rootfiles

      def initialize
        @rootfiles = []
      end

      # syntax sugar
      def rootfile
        rootfiles.first
      end

      class Rootfile
        attr_accessor :full_path, :media_type
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
epub-parser-0.1.0 lib/epub/ocf/container.rb
epub-parser-0.0.9.4 lib/epub/ocf/container.rb
epub-parser-0.0.9.3 lib/epub/ocf/container.rb
epub-parser-0.0.9.2 lib/epub/ocf/container.rb
epub-parser-0.0.9.1 lib/epub/ocf/container.rb
epub-parser-0.0.9 lib/epub/ocf/container.rb
epub-parser-0.0.8 lib/epub/ocf/container.rb
epub-parser-0.0.7 lib/epub/ocf/container.rb
epub-parser-0.0.6.1 lib/epub/ocf/container.rb
epub-parser-0.0.6 lib/epub/ocf/container.rb
epub-parser-0.0.5 lib/epub/ocf/container.rb
epub-parser-0.0.4 lib/epub/ocf/container.rb
epub-parser-0.0.3 lib/epub/ocf/container.rb
epub-parser-0.0.2 lib/epub/ocf/container.rb
epub-parser-0.0.1 lib/epub/ocf/container.rb