gitlab-org--gitlab-foss/lib/gitlab/ci/config/node/null.rb
2016-06-09 13:15:54 +02:00

27 lines
472 B
Ruby

module Gitlab
module Ci
class Config
##
# This class represents a configuration entry that is not being used
# in configuration file.
#
# This implements Null Object pattern.
#
module Node
class Null < Entry
def value
nil
end
def validate!
nil
end
def method_missing(*)
nil
end
end
end
end
end
end