summaryrefslogtreecommitdiff
path: root/lib/declarative_policy/rule.rb
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2018-07-04 22:02:01 +0800
committerLin Jen-Shin <godfat@godfat.org>2018-07-09 21:13:08 +0800
commit3bfe30662436e48d4324b8fac5c1634df4a7cf7f (patch)
tree3f772a44196e249ded23b453b89799095cbcc5d8 /lib/declarative_policy/rule.rb
parent9286f5b9340f92131c320c231a5fb3e51c23bf04 (diff)
downloadgitlab-ce-3bfe30662436e48d4324b8fac5c1634df4a7cf7f.tar.gz
Resolve Naming/UncommunicativeMethod
Diffstat (limited to 'lib/declarative_policy/rule.rb')
-rw-r--r--lib/declarative_policy/rule.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/declarative_policy/rule.rb b/lib/declarative_policy/rule.rb
index e309244a3b3..407398cc770 100644
--- a/lib/declarative_policy/rule.rb
+++ b/lib/declarative_policy/rule.rb
@@ -8,8 +8,8 @@ module DeclarativePolicy
# how that affects the actual ability decision - for that, a
# `Step` is used.
class Base
- def self.make(*a)
- new(*a).simplify
+ def self.make(*args)
+ new(*args).simplify
end
# true or false whether this rule passes.