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
Endemic Code Smells

  • :reek:FeatureEnvy



114
115
116
117
118
# File 'lib/fOOrth/monkey_patch/exceptions.rb', line 114

def message
  msg = super
  msg["frozen"] && msg["frozen"] = "protected"
  msg
end