Class: Gitlab::Config::Entry::Undefined
- Inherits:
-
Node
- Object
- Node
- Gitlab::Config::Entry::Undefined
show all
- Defined in:
- lib/gitlab/config/entry/undefined.rb
Overview
This class represents an undefined entry.
Constant Summary
Constants inherited
from Node
Node::InvalidError
Instance Attribute Summary
Attributes inherited from Node
#config, #default, #deprecation, #description, #key, #metadata, #parent
Instance Method Summary
collapse
Methods inherited from Node
#[], #add_warning, #ancestors, #array?, aspects, #compose!, default, #descendants, #hash?, #integer?, #leaf?, #location, #opt, #string?, #warnings, with_aspect
Constructor Details
Returns a new instance of Undefined.
10
11
12
|
# File 'lib/gitlab/config/entry/undefined.rb', line 10
def initialize(*)
super(nil)
end
|
Instance Method Details
#errors ⇒ Object
22
23
24
|
# File 'lib/gitlab/config/entry/undefined.rb', line 22
def errors
[]
end
|
#inspect ⇒ Object
38
39
40
|
# File 'lib/gitlab/config/entry/undefined.rb', line 38
def inspect
"#<#{self.class.name}>"
end
|
30
31
32
|
# File 'lib/gitlab/config/entry/undefined.rb', line 30
def relevant?
false
end
|
26
27
28
|
# File 'lib/gitlab/config/entry/undefined.rb', line 26
def specified?
false
end
|
#type ⇒ Object
34
35
36
|
# File 'lib/gitlab/config/entry/undefined.rb', line 34
def type
nil
end
|
18
19
20
|
# File 'lib/gitlab/config/entry/undefined.rb', line 18
def valid?
true
end
|
#value ⇒ Object
14
15
16
|
# File 'lib/gitlab/config/entry/undefined.rb', line 14
def value
nil
end
|