Sha256: 05eacec0b4cc0bb31206e95db5de5b6e5f2a97478846084c6639c41cbfbde221

Contents?: true

Size: 258 Bytes

Versions: 3

Compression:

Stored size: 258 Bytes

Contents

module EPUB
  class OCF
    class PhysicalContainer
      class File < self
        def open
          yield self
        end

        def read(path_name)
          ::File.read(::File.join(@container_path, path_name))
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
epub-parser-0.2.2 lib/epub/ocf/physical_container/file.rb
epub-parser-0.2.1 lib/epub/ocf/physical_container/file.rb
epub-parser-0.2.0 lib/epub/ocf/physical_container/file.rb