class Checkpoint::Platform
Public Class Methods
arch()
click to toggle source
# File lib/checkpoint/platform.rb, line 5 def self.arch if ["x86_64", "amd64"].include?(RbConfig::CONFIG["host_cpu"]) return "amd64" end return "386" end
os()
click to toggle source
# File lib/checkpoint/platform.rb, line 13 def self.os RbConfig::CONFIG["host_os"].downcase end