debian-mirror-gitlab/lib/gitlab/ci/config/node/null.rb
2016-06-16 23:09:34 +05:30

27 lines
484 B
Ruby

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