Class: Gitlab::Ci::Config::Entry::Inherit::Default::UnknownStrategy

Inherits:
Gitlab::Config::Entry::Node show all
Defined in:
lib/gitlab/ci/config/entry/inherit/default.rb

Constant Summary

Constants inherited from Gitlab::Config::Entry::Node

Gitlab::Config::Entry::Node::InvalidError

Instance Attribute Summary

Attributes inherited from Gitlab::Config::Entry::Node

#config, #default, #description, #key, #metadata, #parent

Instance Method Summary collapse

Methods inherited from Gitlab::Config::Entry::Node

#[], #add_warning, #ancestors, aspects, #compose!, default, #descendants, #hash?, #initialize, #inspect, #integer?, #leaf?, #location, #opt, #relevant?, #specified?, #string?, #valid?, #value, #warnings, with_aspect

Constructor Details

This class inherits a constructor from Gitlab::Config::Entry::Node

Instance Method Details

#errorsObject


38
39
40
# File 'lib/gitlab/ci/config/entry/inherit/default.rb', line 38

def errors
  ["#{location} should be a bool or array of strings"]
end

#inherit?(key) ⇒ Boolean

Returns:

  • (Boolean)

42
43
44
# File 'lib/gitlab/ci/config/entry/inherit/default.rb', line 42

def inherit?(key)
  false
end