class Bosh::Stemcell::Arch

Public Class Methods

arch() click to toggle source
# File lib/bosh/stemcell/arch.rb, line 4
def self.arch
  RbConfig::CONFIG['host_cpu']
end
ppc64le?() click to toggle source
# File lib/bosh/stemcell/arch.rb, line 8
def self.ppc64le?
  arch == 'powerpc64le'
end
x86_64?() click to toggle source
# File lib/bosh/stemcell/arch.rb, line 12
def self.x86_64?
  arch == 'x86_64'
end