Class: Wardite::WasmData
- Inherits:
-
Object
- Object
- Wardite::WasmData
- Defined in:
- lib/wardite.rb
Instance Attribute Summary collapse
-
#init ⇒ Object
: String.
-
#memory_index ⇒ Object
: Integer.
-
#offset ⇒ Object
: Integer.
Instance Method Summary collapse
-
#initialize(&blk) ⇒ WasmData
constructor
A new instance of WasmData.
Constructor Details
#initialize(&blk) ⇒ WasmData
Returns a new instance of WasmData.
1141 1142 1143 |
# File 'lib/wardite.rb', line 1141 def initialize(&blk) blk.call(self) end |
Instance Attribute Details
#init ⇒ Object
: String
1137 1138 1139 |
# File 'lib/wardite.rb', line 1137 def init @init end |
#memory_index ⇒ Object
: Integer
1133 1134 1135 |
# File 'lib/wardite.rb', line 1133 def memory_index @memory_index end |
#offset ⇒ Object
: Integer
1135 1136 1137 |
# File 'lib/wardite.rb', line 1135 def offset @offset end |