Sha256: 12ccef5e9661d331d91975a338b9018f7e162f87cc3b87d799b78e95794e6aff
Contents?: true
Size: 640 Bytes
Versions: 3
Compression:
Stored size: 640 Bytes
Contents
# -*- coding: utf-8 -*- require 'keystone/os/abstract_os' module Keystone::Os autoload :Centos, 'keystone/os/centos' autoload :Linux, 'keystone/os/linux' autoload :Darwin, 'keystone/os/darwin' autoload :Osx, 'keystone/os/osx' autoload :Unix, 'keystone/os/unix' # autoload :Windows, 'keystone/env/windows.rb' # fu*k windows def self.oses @oses ||= constants end def self.get case RUBY_PLATFORM when /linux/ # TODO only centos impremented Keystone::Os::Linux.get() when /darwin/ # TODO only osx impremented Keystone::Os::Osx.new else # TODO end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
keystone-0.0.32 | lib/keystone/os.rb |
keystone-0.0.31 | lib/keystone/os.rb |
keystone-0.0.30 | lib/keystone/os.rb |