debian-mirror-gitlab/lib/gitlab/ci/config/node/undefined.rb

20 lines
386 B
Ruby
Raw Normal View History

2016-08-24 12:49:21 +05:30
module Gitlab
module Ci
class Config
module Node
##
2016-09-13 17:45:13 +05:30
# This class represents an unspecified entry node.
2016-08-24 12:49:21 +05:30
#
2016-09-13 17:45:13 +05:30
# It decorates original entry adding method that indicates it is
# unspecified.
2016-08-24 12:49:21 +05:30
#
2016-09-13 17:45:13 +05:30
class Undefined < SimpleDelegator
def specified?
2016-08-24 12:49:21 +05:30
false
end
end
end
end
end
end