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

exclude reader methods that ends with a question mark #326

Closed
wants to merge 2 commits into from

Commits on Jul 3, 2013

  1. Exclude reader methods ending in '?' from warnings

    As attr_reader can't deal with variables ending with '?'
    
    Another possible  work around it is to use:
    class Foo
      attr_reader :empty
      alias_method :empty?, :empty
    end
    Martin Englund committed Jul 3, 2013
    Configuration menu
    Copy the full SHA
    122e589 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    10aa812 View commit details
    Browse the repository at this point in the history