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.
1129 1130 1131 |
# File 'lib/wardite.rb', line 1129 def initialize(&blk) blk.call(self) end |
Instance Attribute Details
#init ⇒ Object
: String
1125 1126 1127 |
# File 'lib/wardite.rb', line 1125 def init @init end |
#memory_index ⇒ Object
: Integer
1121 1122 1123 |
# File 'lib/wardite.rb', line 1121 def memory_index @memory_index end |
#offset ⇒ Object
: Integer
1123 1124 1125 |
# File 'lib/wardite.rb', line 1123 def offset @offset end |