4 ms·
Using introspection in Ruby is generally against convention. There's no reason to care about the class name if it #responds_to? the method you care about callin
by saraid216 11y ago
Using introspection in Ruby is generally against convention. There's no reason to care about the class name if it #responds_to? the method you care about calling.