Exception: Exception

Defined in:
lib/extensions/exception.rb

Instance Method Summary collapse

Instance Method Details

#descriptionObject



8
9
10
# File 'lib/extensions/exception.rb', line 8

def description
	"#{self.class}/#{self.message}"
end

#to_prettyObject



4
5
6
# File 'lib/extensions/exception.rb', line 4

def to_pretty
	"#{description}: #{ pp_exception self }"
end