Class: Gitlab::Ci::Build::Context::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/gitlab/ci/build/context/base.rb

Direct Known Subclasses

Build, Global

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pipeline) ⇒ Base

Returns a new instance of Base.


10
11
12
# File 'lib/gitlab/ci/build/context/base.rb', line 10

def initialize(pipeline)
  @pipeline = pipeline
end

Instance Attribute Details

#pipelineObject (readonly)

Returns the value of attribute pipeline


8
9
10
# File 'lib/gitlab/ci/build/context/base.rb', line 8

def pipeline
  @pipeline
end

Instance Method Details

#variablesObject

Raises:

  • (NotImplementedError)

14
15
16
# File 'lib/gitlab/ci/build/context/base.rb', line 14

def variables
  raise NotImplementedError
end