Sha256: a53bb7060dfcecd718913cfe0cc174a6ab478173e50a968f96327bcd75e7edbc

Contents?: true

Size: 459 Bytes

Versions: 28

Compression:

Stored size: 459 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 :scopes

  def initialize
    @scopes = []
  end

  def notice_push_frame(state, time)
  end

  def notice_pop_frame(state, scope, time)
    @scopes << scope
  end

  def on_finishing_transaction(time)
  end

  def enabled?
    true
  end
end

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
newrelic_rpm-3.9.7.266 test/new_relic/agent/mock_scope_listener.rb
newrelic_rpm-3.9.6.257 test/new_relic/agent/mock_scope_listener.rb
newrelic_rpm-3.9.5.251 test/new_relic/agent/mock_scope_listener.rb
newrelic_rpm-3.9.4.245 test/new_relic/agent/mock_scope_listener.rb
newrelic_rpm-3.9.3.241 test/new_relic/agent/mock_scope_listener.rb
newrelic_rpm-3.9.2.239 test/new_relic/agent/mock_scope_listener.rb
newrelic_rpm-3.9.1.236 test/new_relic/agent/mock_scope_listener.rb
newrelic_rpm-3.9.0.229 test/new_relic/agent/mock_scope_listener.rb