summaryrefslogtreecommitdiff
path: root/lib/gitlab/ci/status/extended.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/ci/status/extended.rb')
-rw-r--r--lib/gitlab/ci/status/extended.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/gitlab/ci/status/extended.rb b/lib/gitlab/ci/status/extended.rb
index d367c9bda69..1e8101f8949 100644
--- a/lib/gitlab/ci/status/extended.rb
+++ b/lib/gitlab/ci/status/extended.rb
@@ -1,13 +1,13 @@
module Gitlab
module Ci
module Status
- module Extended
- extend ActiveSupport::Concern
+ class Extended < SimpleDelegator
+ def initialize(status)
+ super(@status = status)
+ end
- class_methods do
- def matches?(_subject, _user)
- raise NotImplementedError
- end
+ def self.matches?(_subject, _user)
+ raise NotImplementedError
end
end
end