Class: WAG::WAT
- Inherits:
-
Object
- Object
- WAG::WAT
- Defined in:
- lib/wag/wat.rb
Overview
A container for the WebAssembly text format.
Instance Method Summary collapse
-
#initialize(source) ⇒ WAT
constructor
A new instance of WAT.
- #to_s ⇒ Object
- #to_wasm ⇒ Object
Constructor Details
#initialize(source) ⇒ WAT
Returns a new instance of WAT.
6 7 8 |
# File 'lib/wag/wat.rb', line 6 def initialize(source) @source = source end |