Class: Judges::PrettyException

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/judges/pretty_exception.rb

Overview

Decorates the exception for show ellipsed message.

Instance Method Summary collapse

Instance Method Details

#messageObject



16
17
18
# File 'lib/judges/pretty_exception.rb', line 16

def message
  __getobj__.message.ellipsized(100, :right)
end