Class: FakeCluster
- Inherits:
-
Object
- Object
- FakeCluster
- Defined in:
- lib/kube/cluster/resource/dirty_tracking.rb
Instance Attribute Summary collapse
-
#connection ⇒ Object
readonly
Returns the value of attribute connection.
Instance Method Summary collapse
-
#initialize(ctl) ⇒ FakeCluster
constructor
A new instance of FakeCluster.
Constructor Details
#initialize(ctl) ⇒ FakeCluster
Returns a new instance of FakeCluster.
169 170 171 |
# File 'lib/kube/cluster/resource/dirty_tracking.rb', line 169 def initialize(ctl) @connection = FakeConnection.new(ctl) end |
Instance Attribute Details
#connection ⇒ Object (readonly)
Returns the value of attribute connection.
167 168 169 |
# File 'lib/kube/cluster/resource/dirty_tracking.rb', line 167 def connection @connection end |