Class: VCloudSdk::CPU
- Inherits:
-
Object
- Object
- VCloudSdk::CPU
- Defined in:
- lib/ruby_vcloud_sdk/cpu.rb
Instance Attribute Summary collapse
-
#available_cores ⇒ Object
readonly
Returns the value of attribute available_cores.
Instance Method Summary collapse
-
#initialize(available_cores) ⇒ CPU
constructor
A new instance of CPU.
Constructor Details
#initialize(available_cores) ⇒ CPU
Returns a new instance of CPU.
6 7 8 |
# File 'lib/ruby_vcloud_sdk/cpu.rb', line 6 def initialize(available_cores) @available_cores = available_cores end |
Instance Attribute Details
#available_cores ⇒ Object (readonly)
Returns the value of attribute available_cores.
4 5 6 |
# File 'lib/ruby_vcloud_sdk/cpu.rb', line 4 def available_cores @available_cores end |