Class: ConcourseResource
- Inherits:
-
Object
- Object
- ConcourseResource
- Defined in:
- lib/preflight_check/concourse_resource.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name:) ⇒ ConcourseResource
constructor
A new instance of ConcourseResource.
Constructor Details
#initialize(name:) ⇒ ConcourseResource
Returns a new instance of ConcourseResource.
3 4 5 |
# File 'lib/preflight_check/concourse_resource.rb', line 3 def initialize(name:) @name = name end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
2 3 4 |
# File 'lib/preflight_check/concourse_resource.rb', line 2 def name @name end |