Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include a cop to enforce assert_respond_to #27

Merged

Commits on Oct 12, 2019

  1. Include a cop to enforce assert_respond_to

    This commit adds a cop that checks the usage of
    `assert(object.respond_to?(:some_method))` and enforces the usage of
    `assert_respond_to(object, :some_method)` instead.
    duduribeiro committed Oct 12, 2019
    Configuration menu
    Copy the full SHA
    6bd6377 View commit details
    Browse the repository at this point in the history