Sha256: b9ab04110d2f9d241721f2ca473864f6fa873f96bbbeb05e0f643d2d038f8179
Contents?: true
Size: 601 Bytes
Versions: 20
Compression:
Stored size: 601 Bytes
Contents
class RbVmomi::VIM::DynamicTypeMgrDataTypeInfo def toRbvmomiTypeHash { self.wsdlName => { 'kind' => 'data', 'type-id' => self.name, 'base-type-id' => self.base.first, 'props' => self.property.map do |prop| { 'name' => prop.name, 'type-id-ref' => prop.type.gsub("[]", ""), 'is-array' => (prop.type =~ /\[\]$/) ? true : false, 'is-optional' => prop.annotation.find{|a| a.name == "optional"} ? true : false, 'version-id-ref' => prop.version, } end, } } end end
Version data entries
20 entries across 20 versions & 4 rubygems