Sha256: 968167bcb3e75f21ae6efdb2c8cdcbe8ec726e08c583d317fe5c9a46c03e66e3

Contents?: true

Size: 430 Bytes

Versions: 28

Compression:

Stored size: 430 Bytes

Contents

module SpecInfra
  module Helper
    [
     'Base',
     'AIX',
     'Darwin',
     'Debian',
     'FreeBSD',
     'Gentoo',
     'Plamo',
     'RedHat',
     '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

28 entries across 28 versions & 1 rubygems

Version Path
specinfra-0.0.14 lib/specinfra/helper/os.rb
specinfra-0.0.13 lib/specinfra/helper/os.rb
specinfra-0.0.12 lib/specinfra/helper/os.rb
specinfra-0.0.11 lib/specinfra/helper/os.rb
specinfra-0.0.10 lib/specinfra/helper/os.rb
specinfra-0.0.9 lib/specinfra/helper/os.rb
specinfra-0.0.8 lib/specinfra/helper/os.rb
specinfra-0.0.7 lib/specinfra/helper/os.rb