Exception: Exception

Defined in:
lib/ax_elements/exception_workaround.rb

Overview

Workaround for MacRuby ticket #1334

Instance Method Summary collapse

Instance Method Details

#messageString

Override the message method to force the backtrace to be included.

Returns:

  • (String)


10
11
12
# File 'lib/ax_elements/exception_workaround.rb', line 10

def message
  "#{original_message}\n\t#{backtrace.join("\n\t")}"
end

#original_messageObject



4
# File 'lib/ax_elements/exception_workaround.rb', line 4

alias_method :original_message, :message