Exception: RuntimeError

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

Overview

Extensions to the RunTimeError 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

Massage the messages a bit.



112
113
114
# File 'lib/fOOrth/monkey_patch/exceptions.rb', line 112

def message
  super.gsub(/frozen/, "protected")
end