Sha256: 0b674ee2371496ffac02883ebe521e31c9d7fd1880b5ac85942809e486b65c56
Contents?: true
Size: 462 Bytes
Versions: 4
Compression:
Stored size: 462 Bytes
Contents
module SpecInfra module Helper [ 'Base', 'AIX', 'Darwin', 'Debian', 'FreeBSD', 'Gentoo', 'Plamo', 'RedHat', 'SmartOS', 'Solaris', 'Solaris10', 'Solaris11', 'Windows', ].each do |os| eval <<-EOF module #{os} def commands self.class.const_get(SPEC_TYPE).const_get('Commands').const_get('#{os}').new end end EOF end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
specinfra-0.0.5 | lib/specinfra/helper/os.rb |
specinfra-0.0.4 | lib/specinfra/helper/os.rb |
specinfra-0.0.3 | lib/specinfra/helper/os.rb |
specinfra-0.0.2 | lib/specinfra/helper/os.rb |