Class: Wardite::Wasi::PreopenedDir
- Inherits:
-
Object
- Object
- Wardite::Wasi::PreopenedDir
- Defined in:
- lib/wardite/wasi/preopens.rb
Instance Attribute Summary collapse
-
#fd ⇒ Object
readonly
: Integer.
-
#guest_path ⇒ Object
readonly
: String.
-
#path ⇒ Object
readonly
: String.
Instance Method Summary collapse
-
#initialize(path, guest_path, fd) ⇒ PreopenedDir
constructor
A new instance of PreopenedDir.
Constructor Details
#initialize(path, guest_path, fd) ⇒ PreopenedDir
Returns a new instance of PreopenedDir.
10 11 12 13 14 |
# File 'lib/wardite/wasi/preopens.rb', line 10 def initialize(path, guest_path, fd) @path = path @guest_path = guest_path @fd = fd end |
Instance Attribute Details
#fd ⇒ Object (readonly)
: Integer
8 9 10 |
# File 'lib/wardite/wasi/preopens.rb', line 8 def fd @fd end |
#guest_path ⇒ Object (readonly)
: String
7 8 9 |
# File 'lib/wardite/wasi/preopens.rb', line 7 def guest_path @guest_path end |
#path ⇒ Object (readonly)
: String
6 7 8 |
# File 'lib/wardite/wasi/preopens.rb', line 6 def path @path end |