Class: ConcourseJobDependency
- Inherits:
-
Object
- Object
- ConcourseJobDependency
- Defined in:
- lib/preflight_check/concourse_job_dependency.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
- #defined=(value) ⇒ Object
- #defined? ⇒ Boolean
-
#initialize(name:) ⇒ ConcourseJobDependency
constructor
A new instance of ConcourseJobDependency.
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
#name ⇒ Object
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
12 13 14 |
# File 'lib/preflight_check/concourse_job_dependency.rb', line 12 def defined? @is_defined end |