Module: Gitlab::Config::Entry::Inheritable

Included in:
Gitlab::Ci::Config::Entry::Default, Gitlab::Ci::Config::Entry::Processable
Defined in:
lib/gitlab/config/entry/inheritable.rb

Overview

Entry that represents an inheritable configs.

Constant Summary collapse

InheritError =
Class.new(Gitlab::Config::Loader::FormatError)

Instance Method Summary collapse

Instance Method Details

#compose!(deps = nil, &blk) ⇒ Object


12
13
14
15
16
# File 'lib/gitlab/config/entry/inheritable.rb', line 12

def compose!(deps = nil, &blk)
  super(deps, &blk)

  inherit!(deps)
end