Sha256: d1bf41364a3046392850e50945f833cfcb10832946334b89aee341c44104adef
Contents?: true
Size: 338 Bytes
Versions: 2
Compression:
Stored size: 338 Bytes
Contents
module Honeybadger module Conversions module_function # Internal: Convert context into a Hash. # # object - The context object. # # Returns the Hash context. def Context(object) object = object.to_honeybadger_context if object.respond_to?(:to_honeybadger_context) Hash(object) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
honeybadger-3.2.0 | lib/honeybadger/conversions.rb |
honeybadger-3.2.0.beta1 | lib/honeybadger/conversions.rb |