lib/contrast/agent/scope.rb in contrast-agent-3.10.2 vs lib/contrast/agent/scope.rb in contrast-agent-3.11.0

- old
+ new

@@ -97,15 +97,9 @@ cs__class.ensure_valid_scope! name call = with_contrast_scope { :"exit_#{ name }_scope!" } send(call) end - def with_scope name, &block - cs__class.ensure_valid_scope! name - call = with_contrast_scope { :"with_#{ name }_scope" } - send(call, &block) - end - class << self def valid_scope? scope_sym Contrast::Agent::Scope::SCOPE_LIST.include? scope_sym end