Module: Exception::Hashify
- Included in:
- Exception
- Defined in:
- lib/exception-hashify.rb,
lib/exception-hashify/version.rb
Constant Summary collapse
- VERSION =
"0.0.1"
Instance Method Summary collapse
Instance Method Details
#to_hash ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/exception-hashify.rb', line 5 def to_hash @hash ||= { :class_name => self.class.name, :message => , :backtrace => backtrace } end |