Module: TypeProf::Utils::StructuralEquality
Class Method Summary
Class Method Details
.included(klass)
[ GitHub ]# File 'lib/typeprof/utils.rb', line 9
def self.included(klass) klass.instance_eval do def new(*args) (Thread.current[:table] ||= {})[[self] + args] ||= super end end end