lib/contrast/components/scope.rb in contrast-agent-4.8.0 vs lib/contrast/components/scope.rb in contrast-agent-4.9.0
- old
+ new
@@ -18,12 +18,10 @@
module Scope # :nodoc:
MONITOR = Monitor.new
EXECUTION_CONTEXT = {} # rubocop:disable Style/MutableConstant
class Interface # :nodoc:
- include Contrast::Components::ComponentBase
-
def initialize
# This is probably redundant with #scope_for_current_ec's nil check.
EXECUTION_CONTEXT[Fiber.current] = Contrast::Agent::Scope.new
end
@@ -144,10 +142,8 @@
end
end
end
ClassMethods = InstanceMethods
-
- COMPONENT_INTERFACE = Interface.new
end
end
end