Class: Gitlab::Ci::Config::Entry::Inherit::Variables::BooleanStrategy

Inherits:
Gitlab::Config::Entry::Boolean show all
Defined in:
lib/gitlab/ci/config/entry/inherit/variables.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 included from Gitlab::Config::Entry::Validatable

#compose!, #errors, included, #validate, #validator

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

#[], #add_warning, #ancestors, aspects, #compose!, default, #descendants, #errors, #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

#inherit?(_key) ⇒ Boolean

Returns:

  • (Boolean)

16
17
18
# File 'lib/gitlab/ci/config/entry/inherit/variables.rb', line 16

def inherit?(_key)
  value
end