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.
1186 1187 1188 |
# File 'lib/wardite.rb', line 1186 def initialize(&blk) blk.call(self) end |
Instance Attribute Details
#init ⇒ Object
: String
1182 1183 1184 |
# File 'lib/wardite.rb', line 1182 def init @init end |
#memory_index ⇒ Object
: Integer
1178 1179 1180 |
# File 'lib/wardite.rb', line 1178 def memory_index @memory_index end |
#offset ⇒ Object
: Integer
1180 1181 1182 |
# File 'lib/wardite.rb', line 1180 def offset @offset end |