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