You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 13, 2018. It is now read-only.
The current (freshly forked) version of the style guide states "Avoid the use of !!.". The bad examples there are for nil checks and on booleans. I would tend to allow it for "casting into booleans to return only boolean" as in...
def display_commit?
!! Settings.display_head_commit
end
But I would presume, not to use a space between "!!" and the following term to be consistent with the "No space after !." rule.
The text was updated successfully, but these errors were encountered:
The current (freshly forked) version of the style guide states "Avoid the use of !!.". The bad examples there are for nil checks and on booleans. I would tend to allow it for "casting into booleans to return only boolean" as in...
But I would presume, not to use a space between "!!" and the following term to be consistent with the "No space after !." rule.
The text was updated successfully, but these errors were encountered: