summaryrefslogtreecommitdiff
path: root/lib/gitlab/ci/config/entry/unspecified.rb
blob: fbb2551e87014bf31e1ac00f79a732e631764eb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
module Gitlab
  module Ci
    class Config
      module Entry
        ##
        # This class represents an unspecified entry.
        #
        # It decorates original entry adding method that indicates it is
        # unspecified.
        #
        class Unspecified < SimpleDelegator
          def specified?
            false
          end
        end
      end
    end
  end
end