Method: OvirtSDK4::OpenStackProvider#properties=
- Defined in:
- lib/ovirtsdk4/types.rb
#properties=(list) ⇒ Object
Sets the value of the properties attribute.
49046 49047 49048 49049 49050 49051 49052 49053 49054 49055 49056 |
# File 'lib/ovirtsdk4/types.rb', line 49046 def properties=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = Property.new(value) end end end @properties = list end |