class Fog::Kubevirt::Compute::Real::WatchWrapper
Public Class Methods
new(watch, mapper)
click to toggle source
# File lib/fog/kubevirt/compute/compute.rb, line 201 def initialize(watch, mapper) @watch = watch @mapper = mapper end
Public Instance Methods
each() { |call| ... }
click to toggle source
# File lib/fog/kubevirt/compute/compute.rb, line 206 def each @watch.each do |notice| yield @mapper.call(notice) end end
finish()
click to toggle source
# File lib/fog/kubevirt/compute/compute.rb, line 212 def finish @watch.finish end