The probe returns an array of instances of this class.
This method is used to initialize a class instance,
@param opts [Hash] The attributes of the result.
@option opts [String] :version The version obtained as the result of the probe.
# File lib/ovirtsdk4/probe.rb, line 252 def initialize(opts) @version = opts[:version] end
Override the comparison method.
# File lib/ovirtsdk4/probe.rb, line 257 def ==(other) other.class == self.class && other.state == state end
Should always be overriden if one overrides ==, used to get a hash value for the object.
# File lib/ovirtsdk4/probe.rb, line 265 def hash state.hash end
@api private
# File lib/ovirtsdk4/probe.rb, line 270 def state [version] end