Class: Contrast::Utils::Assess::TrackingUtil
- Extended by:
- Components::Logger::InstanceMethods
- Defined in:
- lib/contrast/utils/assess/tracking_util.rb
Overview
TrackingUtil has methods for determining if a object is being tracked
Class Method Summary collapse
-
.trackable?(obj) ⇒ Boolean
Public interface to our tracking check, isolating the internals required for recursion.
-
.tracked?(obj) ⇒ Boolean
Public interface to our tracking check, isolating the internals required for recursion.
Methods included from Components::Logger::InstanceMethods
Class Method Details
.trackable?(obj) ⇒ Boolean
Public interface to our tracking check, isolating the internals required for recursion.
32 33 34 |
# File 'lib/contrast/utils/assess/tracking_util.rb', line 32 def trackable? obj _trackable?(obj, 0) end |
.tracked?(obj) ⇒ Boolean
Public interface to our tracking check, isolating the internals required for recursion.
22 23 24 |
# File 'lib/contrast/utils/assess/tracking_util.rb', line 22 def tracked? obj _tracked?(obj, 0) end |