Sha256: a382732dcab5fd4ab58faf1f027299a27089a1bf991b79ed0a3913bc99c01615

Contents?: true

Size: 303 Bytes

Versions: 1

Compression:

Stored size: 303 Bytes

Contents

class Dreamcatcher::ExceptionContext

  attr_reader :exception, :log_entries, :context, :timestamp

  def initialize(exception, log_entries, context = {})
    @exception, @log_entries, @context = exception, log_entries, context
    @timestamp = Time.now
  end

  def [](key)
    @context[key]
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dreamcatcher-0.0.2 lib/dreamcatcher/exception_context.rb