Sha256: 484c343e4411b4bb6f46f178997472d8df97e5e3b36a069360d04fd6e25b1e47

Contents?: true

Size: 220 Bytes

Versions: 23

Compression:

Stored size: 220 Bytes

Contents

module Bosh::Stemcell
  class Arch

    def self.arch
      RbConfig::CONFIG['host_cpu']
    end

    def self.ppc64le?
      arch == 'powerpc64le'
    end

    def self.x86_64?
      arch == 'x86_64'
    end

  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
bosh-stemcell-1.3178.0 lib/bosh/stemcell/arch.rb
bosh-stemcell-1.3177.0 lib/bosh/stemcell/arch.rb
bosh-stemcell-1.3173.0 lib/bosh/stemcell/arch.rb