Sha256: 51e15c08d65a03c4429b47da9ff75b94e233a39eed627d25c8cab9ac4a5cb193
Contents?: true
Size: 574 Bytes
Versions: 2
Compression:
Stored size: 574 Bytes
Contents
module Specinfra module Helper [ 'Base', 'AIX', 'Arch', 'Darwin', 'Debian', 'Fedora', 'FreeBSD', 'FreeBSD10', 'Gentoo', 'NixOS', 'OpenBSD', 'Plamo', 'RedHat', 'RedHat7', 'SuSE', 'OpenSUSE', 'SmartOS', 'Solaris', 'Solaris10', 'Solaris11', 'Ubuntu', 'Windows', ].each do |os| eval <<-EOF module #{os} def commands Specinfra::Command::#{os}.new end end EOF end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
specinfra-2.0.0.beta6 | lib/specinfra/helper/os.rb |
specinfra-2.0.0.beta5 | lib/specinfra/helper/os.rb |