Class: RbVmomi::BasicTypes::Int
- Inherits:
-
Object
- Object
- RbVmomi::BasicTypes::Int
- Defined in:
- lib/rbvmomi/basic_types.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(x) ⇒ Int
constructor
A new instance of Int.
- #to_s ⇒ Object
Constructor Details
#initialize(x) ⇒ Int
Returns a new instance of Int.
379 380 381 |
# File 'lib/rbvmomi/basic_types.rb', line 379 def initialize x @val = x end |
Class Method Details
.wsdl_name ⇒ Object
377 |
# File 'lib/rbvmomi/basic_types.rb', line 377 def self.wsdl_name; 'xsd:int' end |
Instance Method Details
#to_s ⇒ Object
383 384 385 |
# File 'lib/rbvmomi/basic_types.rb', line 383 def to_s @val.to_s end |