Class: Wardite::Wasi::Dirent

Inherits:
Object
  • Object
show all
Defined in:
lib/wardite/wasi/dirent_cache.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path, ino, type) ⇒ Dirent

Returns a new instance of Dirent.



14
15
16
17
18
# File 'lib/wardite/wasi/dirent_cache.rb', line 14

def initialize(path, ino, type)
  @path = path
  @ino = ino
  @type = type
end

Instance Attribute Details

#inoObject (readonly)

: Integer



7
8
9
# File 'lib/wardite/wasi/dirent_cache.rb', line 7

def ino
  @ino
end

#pathObject (readonly)

: String



6
7
8
# File 'lib/wardite/wasi/dirent_cache.rb', line 6

def path
  @path
end

#typeObject (readonly)

: Integer



8
9
10
# File 'lib/wardite/wasi/dirent_cache.rb', line 8

def type
  @type
end