Class: Olelo::VirtualFS

Inherits:
Object show all
Defined in:
lib/olelo/virtualfs.rb

Direct Known Subclasses

Embedded, Native, Union

Defined Under Namespace

Classes: Embedded, Native, Union

Instance Method Summary collapse

Instance Method Details

#glob(*names) ⇒ Object

Raises:

  • (NotImplementedError)


7
8
9
# File 'lib/olelo/virtualfs.rb', line 7

def glob(*names)
  raise NotImplementedError
end

#mtime(name) ⇒ Object

Raises:

  • (NotImplementedError)


11
12
13
# File 'lib/olelo/virtualfs.rb', line 11

def mtime(name)
  raise NotImplementedError
end

#read(name) ⇒ Object

Raises:

  • (NotImplementedError)


3
4
5
# File 'lib/olelo/virtualfs.rb', line 3

def read(name)
  raise NotImplementedError
end

#real_path(name) ⇒ Object



15
16
17
# File 'lib/olelo/virtualfs.rb', line 15

def real_path(name)
  nil
end

#size(name) ⇒ Object



19
20
21
# File 'lib/olelo/virtualfs.rb', line 19

def size(name)
  read(name).bytesize
end