Module: Exceptron::LocalHelpers
- Defined in:
- lib/exceptron/local_helpers.rb
Instance Method Summary collapse
- #application_trace ⇒ Object
- #debug_hash(hash) ⇒ Object
- #framework_trace ⇒ Object
- #full_trace ⇒ Object
Instance Method Details
#application_trace ⇒ Object
3 4 5 |
# File 'lib/exceptron/local_helpers.rb', line 3 def application_trace clean_backtrace(exception, :silent) end |
#debug_hash(hash) ⇒ Object
15 16 17 |
# File 'lib/exceptron/local_helpers.rb', line 15 def debug_hash(hash) hash.map { |k, v| "#{k}: #{v.inspect}" }.sort.join("\n") end |
#framework_trace ⇒ Object
7 8 9 |
# File 'lib/exceptron/local_helpers.rb', line 7 def framework_trace clean_backtrace(exception, :noise) end |
#full_trace ⇒ Object
11 12 13 |
# File 'lib/exceptron/local_helpers.rb', line 11 def full_trace clean_backtrace(exception, :all) end |