Exception: Interrupt

Inherits:
Exception show all
Defined in:
lib/fOOrth/monkey_patch/exceptions.rb

Overview

Extensions to Interrupt to support fOOrth.

Constant Summary

Constants inherited from Exception

Exception::FOORTH_EXCEPTION_CODE

Instance Method Summary collapse

Methods inherited from Exception

#foorth_code, #foorth_match, #foorth_message

Instance Method Details

#messageObject

The message text for the interrupt. Needed as Ruby provides none.



126
127
128
# File 'lib/fOOrth/monkey_patch/exceptions.rb', line 126

def message
  "Interrupt detected. Exiting fOOrth."
end