Closed laser-shark closed 4 years ago
As you can see in the Travis CI test results, these variables are used in ERB. That's why you can't delete these variables. But it doesn't mean there's no need for improvement. If Rubocop misunderstands the variables are not used, it's probably not good for humans to read too.
Sorry, I didn't realize this! I guess it's not that hard to understand for someone who knows ERB. To be honest, I don't really have an idea on how to make this better, other than maybe disabling the rubocop rule for these methods?
Sorry, I didn't realize this! I guess it's not that hard to understand for someone who knows ERB. To be honest, I don't really have an idea on how to make this better, other than maybe disabling the rubocop rule for these methods?
These variables are needed.
Please let me know if you need more clarification.
Closing due to inaction.
I noticed some warnings about these unused variables while using daru in a project and wanted to remove them. :)