Module: FastCov::ConstGetTracker::ConstGetPatch

Defined in:
lib/fast_cov/trackers/const_get_tracker.rb

Instance Method Summary collapse

Instance Method Details

#const_get(name, inherit = true) ⇒ Object



25
26
27
28
29
# File 'lib/fast_cov/trackers/const_get_tracker.rb', line 25

def const_get(name, inherit = true)
  result = super
  FastCov::ConstGetTracker.record(const_source_location(name, inherit)&.first)
  result
end