Class: FakeConnection
- Inherits:
-
Object
- Object
- FakeConnection
- Defined in:
- lib/kube/cluster/resource/dirty_tracking.rb
Overview
Minimal cluster double that provides .connection.ctl
Instance Attribute Summary collapse
-
#ctl ⇒ Object
readonly
Returns the value of attribute ctl.
Instance Method Summary collapse
-
#initialize(ctl) ⇒ FakeConnection
constructor
A new instance of FakeConnection.
Constructor Details
#initialize(ctl) ⇒ FakeConnection
Returns a new instance of FakeConnection.
161 162 163 |
# File 'lib/kube/cluster/resource/dirty_tracking.rb', line 161 def initialize(ctl) @ctl = ctl end |
Instance Attribute Details
#ctl ⇒ Object (readonly)
Returns the value of attribute ctl.
159 160 161 |
# File 'lib/kube/cluster/resource/dirty_tracking.rb', line 159 def ctl @ctl end |