Class: Veewee::Provider::Core::BoxCommand::Platform
- Defined in:
- lib/veewee/provider/core/box/ssh.rb
Overview
Shameless copy of vagrant
Class Method Summary collapse
Class Method Details
.leopard? ⇒ Boolean
82 83 84 |
# File 'lib/veewee/provider/core/box/ssh.rb', line 82 def leopard? platform.include?("darwin9") end |
.platform ⇒ Object
92 93 94 |
# File 'lib/veewee/provider/core/box/ssh.rb', line 92 def platform RbConfig::CONFIG["host_os"].downcase end |
.tiger? ⇒ Boolean
78 79 80 |
# File 'lib/veewee/provider/core/box/ssh.rb', line 78 def tiger? platform.include?("darwin8") end |