Class: RELI::Braincrash

Inherits:
Brainfuck show all
Defined in:
lib/reli/braincrash.rb

Instance Method Summary collapse

Methods inherited from Abstract

change, on

Constructor Details

#initialize(options = {}) ⇒ Braincrash

Returns a new instance of Braincrash.



28
29
30
31
# File 'lib/reli/braincrash.rb', line 28

def initialize(options = {})
  super
  @memory = [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33]
end

Instance Method Details

#run(code) ⇒ Object



33
34
35
# File 'lib/reli/braincrash.rb', line 33

def run(code)
  super code + "[.>]"
end