2016-08-24 12:49:21 +05:30
|
|
|
module Gitlab
|
|
|
|
module Ci
|
|
|
|
class Config
|
2017-08-17 22:00:37 +05:30
|
|
|
module Entry
|
2016-08-24 12:49:21 +05:30
|
|
|
##
|
2017-08-17 22:00:37 +05:30
|
|
|
# This class represents an undefined entry.
|
2016-08-24 12:49:21 +05:30
|
|
|
#
|
2017-08-17 22:00:37 +05:30
|
|
|
class Undefined < Node
|
2016-09-29 09:46:39 +05:30
|
|
|
def initialize(*)
|
|
|
|
super(nil)
|
|
|
|
end
|
|
|
|
|
|
|
|
def value
|
|
|
|
nil
|
|
|
|
end
|
|
|
|
|
|
|
|
def valid?
|
|
|
|
true
|
|
|
|
end
|
|
|
|
|
|
|
|
def errors
|
|
|
|
[]
|
|
|
|
end
|
|
|
|
|
2016-09-13 17:45:13 +05:30
|
|
|
def specified?
|
2016-08-24 12:49:21 +05:30
|
|
|
false
|
|
|
|
end
|
2016-09-29 09:46:39 +05:30
|
|
|
|
|
|
|
def relevant?
|
|
|
|
false
|
|
|
|
end
|
2017-08-17 22:00:37 +05:30
|
|
|
|
|
|
|
def inspect
|
|
|
|
"#<#{self.class.name}>"
|
|
|
|
end
|
2016-08-24 12:49:21 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|