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

Trivial Accessor #482

Closed
moonglum opened this issue Sep 12, 2013 · 2 comments
Closed

Trivial Accessor #482

moonglum opened this issue Sep 12, 2013 · 2 comments

Comments

@moonglum
Copy link

Currently, the following code is found to be a violation of "Trivial Accessor" according to RubyCop:

def hash
  @content
end

I'm quite sure that this is not a violation 😉 Or is there anything I'm missing here?

@yujinakayama
Copy link
Collaborator

Please see #308 and #408.

@moonglum
Copy link
Author

Oh, sorry 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants