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
Hi!
I am worried about missing one line when you use post 'if' condition. E.g. in such way there is one missing line if a = nil.
if a.present? b = 10 end
But if I write it in this way, there will be no line missing.
b = 10 if a.present?
Also, this will happen when using ternary operator. Is there any way to avoid this issue?
The text was updated successfully, but these errors were encountered:
Nope. Ruby’s standard library provides line-level (a.k.a. c0) code coverage. Unfortunately, we can’t get more granular than that. There’s a three-year-old issue to add c1 code coverage to the Ruby standard library but there hasn’t been any progress on it, as far as I know.
Sorry, something went wrong.
@sferik I think we need to start a 'standard responses' section like what nokogiri has https://github.com/sparklemotion/nokogiri/blob/master/STANDARD_RESPONSES.md I don't really see a good, visible place in the README for it.
Thank you very much for your answer!
No branches or pull requests
Hi!
I am worried about missing one line when you use post 'if' condition. E.g. in such way there is one missing line if a = nil.
But if I write it in this way, there will be no line missing.
Also, this will happen when using ternary operator. Is there any way to avoid this issue?
The text was updated successfully, but these errors were encountered: