Class: Gitlab::Ci::Config::Yaml::Tags::Reference
- Defined in:
- lib/gitlab/ci/config/yaml/tags/reference.rb
Constant Summary collapse
Constants inherited from Base
Base::CircularReferenceError, Base::NotValidError
Instance Attribute Summary
Attributes inherited from Base
#data, #resolved_status, #resolved_value
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
Methods included from Utils::Override
#extended, extensions, #included, #method_added, #override, #prepended, #queue_verification, verify!
Class Method Details
.tag ⇒ Object
11 12 13 |
# File 'lib/gitlab/ci/config/yaml/tags/reference.rb', line 11 def self.tag '!reference' end |
Instance Method Details
#valid? ⇒ Boolean
16 17 18 19 20 |
# File 'lib/gitlab/ci/config/yaml/tags/reference.rb', line 16 def valid? data[:seq].is_a?(Array) && !data[:seq].empty? && data[:seq].all?(String) end |