Sha256: ae23e962c52fd5199c301a5d283f5a0fe7750682541d6dbe561a0c5a1ae78b32

Contents?: true

Size: 491 Bytes

Versions: 3

Compression:

Stored size: 491 Bytes

Contents

# encoding: utf-8
# This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/rpm/blob/master/LICENSE for complete details.


class NewRelic::Agent::MockScopeListener

  attr_reader :scope

  def initialize
    @scope = {}
  end

  def notice_first_scope_push(time)
  end

  def notice_push_scope(scope, time)
    @scope[scope] = true
  end

  def notice_pop_scope(scope, time)
  end

  def notice_scope_empty(time)
  end

  def enabled?
    true
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
newrelic_rpm-3.6.0.83 test/new_relic/agent/mock_scope_listener.rb
newrelic_rpm-3.6.0.78 test/new_relic/agent/mock_scope_listener.rb
newrelic_rpm-3.6.0.74.beta test/new_relic/agent/mock_scope_listener.rb