Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-12-14 21:09:48 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-12-14 21:09:48 +0300
commit319ac09313e73485b47b8da7a67fb27e74f05721 (patch)
treedb1ee3f81f91ac98aaa4ab2270dfbe39f996900a /doc/development/module_with_instance_variables.md
parentfde3e0435c496af7dc37527f465573abd5657f5a (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/module_with_instance_variables.md')
-rw-r--r--doc/development/module_with_instance_variables.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/development/module_with_instance_variables.md b/doc/development/module_with_instance_variables.md
index 66b954df268..75575105178 100644
--- a/doc/development/module_with_instance_variables.md
+++ b/doc/development/module_with_instance_variables.md
@@ -121,7 +121,7 @@ module Gitlab
end
```
-Now the cop won't complain. Here's a bad example which we could rewrite:
+Now the cop doesn't complain. Here's a bad example which we could rewrite:
``` ruby
module SpamCheckService
@@ -213,14 +213,14 @@ module M
end
```
-Note that you need to enable it at some point, otherwise everything below
-won't be checked.
+Note that you need to enable it at some point, otherwise nothing below
+that point is checked.
## Things we might need to ignore right now
Because of the way Rails helpers and mailers work, we might not be able to
avoid the use of instance variables there. For those cases, we could ignore
-them at the moment. At least we're not going to share those modules with
+them at the moment. Those modules are not shared with
other random objects, so they're still somewhat isolated.
## Instance variables in views