Module: TurboTest::ConstantTracer::CaseEquality

Defined in:
lib/turbo_test_constant_tracer/constructor.rb

Instance Method Summary collapse

Instance Method Details

#===(other) ⇒ Object



42
43
44
45
46
47
# File 'lib/turbo_test_constant_tracer/constructor.rb', line 42

def ===(other)
  if other.respond_to?(:turbo_test_proxied_class)
    other = (other.turbo_test_proxied_class || other)
  end
  super
end