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.
1123 1124 1125 |
# File 'lib/wardite.rb', line 1123 def initialize(&blk) blk.call(self) end |
Instance Attribute Details
#init ⇒ Object
: String
1119 1120 1121 |
# File 'lib/wardite.rb', line 1119 def init @init end |
#memory_index ⇒ Object
: Integer
1115 1116 1117 |
# File 'lib/wardite.rb', line 1115 def memory_index @memory_index end |
#offset ⇒ Object
: Integer
1117 1118 1119 |
# File 'lib/wardite.rb', line 1117 def offset @offset end |