Class: VimString
- Inherits:
-
String
- Object
- String
- VimString
- Includes:
- VimType
- Defined in:
- lib/VMwareWebService/VimTypes.rb
Instance Method Summary collapse
-
#initialize(val = "", vimType = nil, xsiType = nil) {|_self| ... } ⇒ VimString
constructor
vimType and xsiType arg positions are switched here because most strings are MORs, and this makes it easier to set the vimType of the MOR.
Methods included from VimType
#vimBaseType, #vimType, #vimType=, #xsiType, #xsiType=
Constructor Details
#initialize(val = "", vimType = nil, xsiType = nil) {|_self| ... } ⇒ VimString
vimType and xsiType arg positions are switched here because most strings are MORs, and this makes it easier to set the vimType of the MOR.
81 82 83 84 85 86 |
# File 'lib/VMwareWebService/VimTypes.rb', line 81 def initialize(val = "", vimType = nil, xsiType = nil) self.xsiType = xsiType self.vimType = vimType super(val) yield(self) if block_given? end |