Exception: Brainfucktt::InvalidByteError
- Defined in:
- lib/brainfucktt/errors.rb
Overview
Raised when the value set within a Data instance is greater than a byte or less than zero.
Instance Method Summary collapse
-
#to_s ⇒ String
The error message.
Instance Method Details
#to_s ⇒ String
Returns The error message.
14 15 16 |
# File 'lib/brainfucktt/errors.rb', line 14 def to_s 'The value of a Byte must be an Integer or respond to to_i and be between 0 and 255' end |