We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
So, I have this:
module SpecHelper def mock_model(*attributes) Class.new { include Equalizer.new(*attributes) attributes.each { |attribute| attr_accessor attribute } def initialize(attrs) attrs.each { |name, value| send("#{name}=", value) } end } end end
and the EmptyLineBetweenDefs complains here which is not correct, I suppose.
The text was updated successfully, but these errors were encountered:
But the style guide says "Use empty lines between defs", so I still think it's a bug. I'll take a look at the problem.
Sorry, something went wrong.
Fix bug concerning nested defs in EmptyLineBetweenDefs cop.
EmptyLineBetweenDefs
e6a2c79
Fixes rubocop#400.
oh wow that was fast @jonas054 😄 thanks guys
jonas054
Successfully merging a pull request may close this issue.
So, I have this:
and the EmptyLineBetweenDefs complains here which is not correct, I suppose.
The text was updated successfully, but these errors were encountered: