Class: ConcourseJobDependency

Inherits:
Object
  • Object
show all
Defined in:
lib/preflight_check/concourse_job_dependency.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:) ⇒ ConcourseJobDependency

Returns a new instance of ConcourseJobDependency.



3
4
5
6
# File 'lib/preflight_check/concourse_job_dependency.rb', line 3

def initialize(name:)
  @name = name
  @is_defined = nil
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



2
3
4
# File 'lib/preflight_check/concourse_job_dependency.rb', line 2

def name
  @name
end

Instance Method Details

#defined=(value) ⇒ Object



8
9
10
# File 'lib/preflight_check/concourse_job_dependency.rb', line 8

def defined= value
  @is_defined = value
end

#defined?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/preflight_check/concourse_job_dependency.rb', line 12

def defined?
  @is_defined
end