Class: Veewee::Provider::Core::BoxCommand::Platform
- Inherits:
-
Object
- Object
- 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
75 76 77 |
# File 'lib/veewee/provider/core/box/ssh.rb', line 75 def leopard? platform.include?("darwin9") end |
.platform ⇒ Object
85 86 87 |
# File 'lib/veewee/provider/core/box/ssh.rb', line 85 def platform RbConfig::CONFIG["host_os"].downcase end |
.tiger? ⇒ Boolean
71 72 73 |
# File 'lib/veewee/provider/core/box/ssh.rb', line 71 def tiger? platform.include?("darwin8") end |