2016-06-07 05:58:02 -04:00
|
|
|
module Gitlab
|
|
|
|
module Ci
|
|
|
|
class Config
|
2016-11-14 04:31:45 -05:00
|
|
|
module Entry
|
2016-06-10 05:20:46 -04:00
|
|
|
##
|
2016-11-14 04:31:45 -05:00
|
|
|
# This class represents an undefined entry.
|
2016-06-10 05:20:46 -04:00
|
|
|
#
|
2016-11-14 04:31:45 -05:00
|
|
|
class Undefined < Node
|
2016-08-06 11:12:59 -04:00
|
|
|
def initialize(*)
|
|
|
|
super(nil)
|
|
|
|
end
|
|
|
|
|
|
|
|
def value
|
|
|
|
nil
|
|
|
|
end
|
|
|
|
|
|
|
|
def valid?
|
|
|
|
true
|
|
|
|
end
|
|
|
|
|
|
|
|
def errors
|
|
|
|
[]
|
|
|
|
end
|
|
|
|
|
2016-07-12 08:10:18 -04:00
|
|
|
def specified?
|
2016-07-07 07:09:36 -04:00
|
|
|
false
|
2016-07-07 06:41:31 -04:00
|
|
|
end
|
2016-08-06 11:12:59 -04:00
|
|
|
|
|
|
|
def relevant?
|
|
|
|
false
|
|
|
|
end
|
2017-03-02 09:12:15 -05:00
|
|
|
|
|
|
|
def inspect
|
|
|
|
"#<#{self.class.name}>"
|
|
|
|
end
|
2016-06-07 05:58:02 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|