Class: Bosh::Stemcell::Arch
- Inherits:
-
Object
- Object
- Bosh::Stemcell::Arch
- Defined in:
- lib/bosh/stemcell/arch.rb
Class Method Summary collapse
Class Method Details
.arch ⇒ Object
4 5 6 |
# File 'lib/bosh/stemcell/arch.rb', line 4 def self.arch RbConfig::CONFIG['host_cpu'] end |
.ppc64le? ⇒ Boolean
8 9 10 |
# File 'lib/bosh/stemcell/arch.rb', line 8 def self.ppc64le? arch == 'powerpc64le' end |
.x86_64? ⇒ Boolean
12 13 14 |
# File 'lib/bosh/stemcell/arch.rb', line 12 def self.x86_64? arch == 'x86_64' end |