Class: VCloudSdk::CPU

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby_vcloud_sdk/cpu.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_coresObject (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