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:
authorGabriel Mazetto <brodock@gmail.com>2017-02-13 14:20:56 +0300
committerGabriel Mazetto <brodock@gmail.com>2017-05-31 15:33:03 +0300
commita4460f420bbbac30fbcec3395261c89749b52bbd (patch)
treec6d609fa635fc1b13dcfeb0a7017cc0e77030bd1 /lib/system_check
parent442735978ca8f3e074a282edfc65c110bd06e079 (diff)
Fix a few method signature checks
Diffstat (limited to 'lib/system_check')
-rw-r--r--lib/system_check/base_executor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system_check/base_executor.rb b/lib/system_check/base_executor.rb
index 2c2b33461d9..f76f44f3a28 100644
--- a/lib/system_check/base_executor.rb
+++ b/lib/system_check/base_executor.rb
@@ -17,7 +17,7 @@ module SystemCheck
#
# @param [BaseCheck] check class
def <<(check)
- raise ArgumentError unless check.is_a? BaseCheck
+ raise ArgumentError unless check < BaseCheck
@checks << check
end
end