Class: Gitlab::Ci::Config::Interpolation::FunctionsStack::Output

Inherits:
Struct
  • Object
show all
Defined in:
lib/gitlab/ci/config/interpolation/functions_stack.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#errorsObject

Returns the value of attribute errors

Returns:

  • (Object)

    the current value of errors



12
13
14
# File 'lib/gitlab/ci/config/interpolation/functions_stack.rb', line 12

def errors
  @errors
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



12
13
14
# File 'lib/gitlab/ci/config/interpolation/functions_stack.rb', line 12

def value
  @value
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/gitlab/ci/config/interpolation/functions_stack.rb', line 13

def success?
  errors.empty?
end