Class: VimSdk::BaseType
- Inherits:
-
Object
- Object
- VimSdk::BaseType
- Defined in:
- lib/ruby_vim_sdk/base_type.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#version ⇒ Object
Returns the value of attribute version.
-
#wsdl_name ⇒ Object
Returns the value of attribute wsdl_name.
Instance Method Summary collapse
-
#initialize(name, wsdl_name, version) ⇒ BaseType
constructor
A new instance of BaseType.
Constructor Details
#initialize(name, wsdl_name, version) ⇒ BaseType
Returns a new instance of BaseType.
8 9 10 11 12 |
# File 'lib/ruby_vim_sdk/base_type.rb', line 8 def initialize(name, wsdl_name, version) @name = VmodlHelper.vmodl_type_to_ruby(name) @wsdl_name = wsdl_name @version = version end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/ruby_vim_sdk/base_type.rb', line 4 def name @name end |
#version ⇒ Object
Returns the value of attribute version.
6 7 8 |
# File 'lib/ruby_vim_sdk/base_type.rb', line 6 def version @version end |
#wsdl_name ⇒ Object
Returns the value of attribute wsdl_name.
5 6 7 |
# File 'lib/ruby_vim_sdk/base_type.rb', line 5 def wsdl_name @wsdl_name end |