summaryrefslogtreecommitdiff
path: root/lib/gitlab/ci/config/node/undefined.rb
blob: 45fef8c3ae55204c3d0a5a87b92de655e9d4cebe (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 Node
        ##
        # This class represents an unspecified entry node.
        #
        # It decorates original entry adding method that indicates it is
        # unspecified.
        #
        class Undefined < SimpleDelegator
          def specified?
            false
          end
        end
      end
    end
  end
end