Class: Spitewaste::Emitter

Inherits:
Object
  • Object
show all
Defined in:
lib/spitewaste/emitter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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, **options
  @instructions = instructions
  @options = options
end

Instance Attribute Details

#instructionsObject (readonly)

Returns the value of attribute instructions.



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

def instructions
  @instructions
end

#optionsObject (readonly)

Returns the value of attribute options.



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

def options
  @options
end