Closed juanortizthirdwave closed 9 years ago
Since ruby 2.0, respond_to? will return false for protected methods. Replaced with methods.include?
respond_to?
false
methods.include?
Since ruby 2.0,
respond_to?
will returnfalse
for protected methods. Replaced withmethods.include?