Method: OvirtSDK4::ProductInfo#version=
- Defined in:
- lib/ovirtsdk4/types.rb
#version=(value) ⇒ Object
Sets the value of the version
attribute.
The value
parameter can be an instance of Version or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
15224 15225 15226 15227 15228 15229 |
# File 'lib/ovirtsdk4/types.rb', line 15224 def version=(value) if value.is_a?(Hash) value = Version.new(value) end @version = value end |