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.
1089 1090 1091 |
# File 'lib/wardite.rb', line 1089 def initialize(&blk) blk.call(self) end |
Instance Attribute Details
#init ⇒ Object
: String
1085 1086 1087 |
# File 'lib/wardite.rb', line 1085 def init @init end |
#memory_index ⇒ Object
: Integer
1081 1082 1083 |
# File 'lib/wardite.rb', line 1081 def memory_index @memory_index end |
#offset ⇒ Object
: Integer
1083 1084 1085 |
# File 'lib/wardite.rb', line 1083 def offset @offset end |