Class: Practice::Implementation::Interpreter::Command

Inherits:
Struct
  • Object
show all
Defined in:
lib/ruby/practice/implementation/interpreter.rb

Overview

The Brainfuck command.

Instance Attribute Summary collapse

Instance Attribute Details

#symbolObject

Returns the value of attribute symbol

Returns:

  • (Object)

    the current value of symbol



8
9
10
# File 'lib/ruby/practice/implementation/interpreter.rb', line 8

def symbol
  @symbol
end