You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
irb(main):001:0> 'String'.is_a? String ? true : false
TypeError: class or module required
from (irb):1:in `is_a?'
from (irb):1
from /home/.rbenv/versions/2.3.1/bin/irb:11:in `<main>'
… detector smarter
This cop, despite checking for unsafe autocorrects, did not recognize
methods sent to constants or literals, leading to inappropriate omission
recommendations.
This change fixes that.
Class or Module required (TypeError)
Expected behavior
remains as it is.
Actual behavior
Faulty auro-correct
RuboCop version
The text was updated successfully, but these errors were encountered: