Class: Spitewaste::Emitter
- Inherits:
-
Object
- Object
- Spitewaste::Emitter
- Defined in:
- lib/spitewaste/emitter.rb
Direct Known Subclasses
AssemblyEmitter, CodegenEmitter, ImageEmitter, WSAssemblyEmitter, WhitespaceEmitter
Instance Attribute Summary collapse
-
#instructions ⇒ Object
readonly
Returns the value of attribute instructions.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(instructions, **options) ⇒ Emitter
constructor
A new instance of Emitter.
Constructor Details
#initialize(instructions, **options) ⇒ Emitter
Returns a new instance of Emitter.
5 6 7 8 |
# File 'lib/spitewaste/emitter.rb', line 5 def initialize instructions, ** @instructions = instructions @options = end |
Instance Attribute Details
#instructions ⇒ Object (readonly)
Returns the value of attribute instructions.
3 4 5 |
# File 'lib/spitewaste/emitter.rb', line 3 def instructions @instructions end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
3 4 5 |
# File 'lib/spitewaste/emitter.rb', line 3 def @options end |