diff options
Diffstat (limited to 'lib/system_check/base_executor.rb')
-rw-r--r-- | lib/system_check/base_executor.rb | 2 |
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 |