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
76 77 78 |
# File 'lib/veewee/provider/core/box/ssh.rb', line 76 def leopard? platform.include?("darwin9") end |
.platform ⇒ Object
86 87 88 |
# File 'lib/veewee/provider/core/box/ssh.rb', line 86 def platform RbConfig::CONFIG["host_os"].downcase end |
.tiger? ⇒ Boolean
72 73 74 |
# File 'lib/veewee/provider/core/box/ssh.rb', line 72 def tiger? platform.include?("darwin8") end |