Class: Bookbinder::FileSystem

Inherits:
Object
  • Object
show all
Defined in:
lib/bookbinder/file_system.rb

Direct Known Subclasses

ZipFile

Defined Under Namespace

Classes: Directory, Memory, UnknownPath, ZipFile

Instance Method Summary collapse

Instance Method Details

#each(&blk) ⇒ Object



33
34
35
# File 'lib/bookbinder/file_system.rb', line 33

def each(&blk)
  # IMPLEMENT IN SUBCLASS
end

#exists?(path) ⇒ Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/bookbinder/file_system.rb', line 3

def exists?(path)
  # IMPLEMENT IN SUBCLASS
end

#get_file(path, mode = 'r', &blk) ⇒ Object



23
24
25
# File 'lib/bookbinder/file_system.rb', line 23

def get_file(path, mode = 'r', &blk)
  # IMPLEMENT IN SUBCLASS
end

#get_io(path, &blk) ⇒ Object



18
19
20
# File 'lib/bookbinder/file_system.rb', line 18

def get_io(path, &blk)
  # IMPLEMENT IN SUBCLASS
end

#read(path) ⇒ Object



8
9
10
# File 'lib/bookbinder/file_system.rb', line 8

def read(path)
  # IMPLEMENT IN SUBCLASS
end

#set_file(path, file) ⇒ Object



28
29
30
# File 'lib/bookbinder/file_system.rb', line 28

def set_file(path, file)
  # IMPLEMENT IN SUBCLASS
end

#write(path, data) ⇒ Object



13
14
15
# File 'lib/bookbinder/file_system.rb', line 13

def write(path, data)
  # IMPLEMENT IN SUBCLASS
end