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.
1158 1159 1160 |
# File 'lib/wardite.rb', line 1158 def initialize(&blk) blk.call(self) end |
Instance Attribute Details
#init ⇒ Object
: String
1154 1155 1156 |
# File 'lib/wardite.rb', line 1154 def init @init end |
#memory_index ⇒ Object
: Integer
1150 1151 1152 |
# File 'lib/wardite.rb', line 1150 def memory_index @memory_index end |
#offset ⇒ Object
: Integer
1152 1153 1154 |
# File 'lib/wardite.rb', line 1152 def offset @offset end |