class EPUB::OCF::PhysicalContainer::UnpackedDirectory

Public Instance Methods

open() { |self| ... } click to toggle source
# File lib/epub/ocf/physical_container/unpacked_directory.rb, line 5
def open
  yield self
end
read(path_name) click to toggle source
# File lib/epub/ocf/physical_container/unpacked_directory.rb, line 9
def read(path_name)
  ::File.read(::File.join(@container_path, path_name))
rescue ::Errno::ENOENT => error
  raise NoEntry.from_error(error)
end