Class: Checkpoint::Platform
- Inherits:
-
Object
- Object
- Checkpoint::Platform
- Defined in:
- lib/checkpoint/platform.rb
Class Method Summary collapse
Class Method Details
.arch ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/checkpoint/platform.rb', line 8 def self.arch if ["x86_64", "amd64"].include?(RbConfig::CONFIG["host_cpu"]) return "amd64" end return "386" end |
.os ⇒ Object
16 17 18 |
# File 'lib/checkpoint/platform.rb', line 16 def self.os RbConfig::CONFIG["host_os"].downcase end |