class Attestify::TestList::RealSourceLocationCache
Helper class to cache source locations TestClassSourceLocations
for classes.
Public Class Methods
[](test_class)
click to toggle source
# File lib/attestify/test_list.rb, line 148 def [](test_class) hash[test_class] end
Private Class Methods
hash()
click to toggle source
# File lib/attestify/test_list.rb, line 154 def hash Thread.current[:Attestify_TestList_RealSourceLocationCache] ||= Hash.new do |hash, test_class| hash[test_class] = Attestify::TestList::TestClassSourceLocations.new(test_class) end end