Class: Gitlab::Ci::Config::Entry::Key::UnknownStrategy

Inherits:
Gitlab::Config::Entry::Node show all
Defined in:
lib/gitlab/ci/config/entry/key.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, #deprecation, #description, #key, #metadata, #parent

Instance Method Summary collapse

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

#[], #add_warning, #ancestors, #array?, 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



49
50
51
# File 'lib/gitlab/ci/config/entry/key.rb', line 49

def errors
  ["#{location} should be a hash, a string or a symbol"]
end