Exception: Brainfucktt::InvalidOffsetError

Inherits:
Error
  • Object
show all
Defined in:
lib/brainfucktt/errors.rb

Overview

Raised when the offset given is notDatanteger.

Instance Method Summary collapse

Instance Method Details

#to_sString

Returns The error message.

Returns:

  • (String)

    The error message.



24
25
26
# File 'lib/brainfucktt/errors.rb', line 24

def to_s
  'The offset of a Byte must be an Integer or respond to to_i'
end