Class: Gitlab::Ci::Config::Entry::Rules::Rule::Exists::ComplexExists
- Inherits:
-
Gitlab::Config::Entry::Node
- Object
- Gitlab::Config::Entry::Node
- Gitlab::Ci::Config::Entry::Rules::Rule::Exists::ComplexExists
- Defined in:
- lib/gitlab/ci/config/entry/rules/rule/exists.rb
Constant Summary collapse
- ALLOWED_KEYS =
%i[paths project ref].freeze
- REQUIRED_KEYS =
%i[paths].freeze
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 included from Gitlab::Config::Entry::Validatable
#compose!, #errors, included, #validate, #validator
Methods inherited from Gitlab::Config::Entry::Node
#[], #add_warning, #ancestors, #array?, aspects, #compose!, default, #descendants, #errors, #hash?, #initialize, #inspect, #integer?, #leaf?, #location, #opt, #relevant?, #specified?, #string?, #valid?, #warnings, with_aspect
Constructor Details
This class inherits a constructor from Gitlab::Config::Entry::Node
Instance Method Details
#value ⇒ Object
56 57 58 59 60 |
# File 'lib/gitlab/ci/config/entry/rules/rule/exists.rb', line 56 def value config.merge( paths: Array(paths) ).compact end |