diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2018-07-04 22:02:01 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2018-07-09 21:13:08 +0800 |
commit | 3bfe30662436e48d4324b8fac5c1634df4a7cf7f (patch) | |
tree | 3f772a44196e249ded23b453b89799095cbcc5d8 /lib/declarative_policy/rule.rb | |
parent | 9286f5b9340f92131c320c231a5fb3e51c23bf04 (diff) | |
download | gitlab-ce-3bfe30662436e48d4324b8fac5c1634df4a7cf7f.tar.gz |
Resolve Naming/UncommunicativeMethod
Diffstat (limited to 'lib/declarative_policy/rule.rb')
-rw-r--r-- | lib/declarative_policy/rule.rb | 4 |
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. |