Class: Spitewaste::WSAssemblyEmitter

Inherits:
Emitter
  • Object
show all
Defined in:
lib/spitewaste/emitters/wsassembly.rb

Instance Attribute Summary

Attributes inherited from Emitter

#instructions, #options

Instance Method Summary collapse

Methods inherited from Emitter

#initialize

Constructor Details

This class inherits a constructor from Spitewaste::Emitter

Instance Method Details

#emit(io:) ⇒ Object



3
4
5
# File 'lib/spitewaste/emitters/wsassembly.rb', line 3

def emit io:
  io.puts @instructions # actually just preprocessed Spitewaste
end