Sha256: 660b0f86deece0049722bc8d6f82653b2fa66e20a28208d580fe74f7ccd7da3f

Contents?: true

Size: 508 Bytes

Versions: 8

Compression:

Stored size: 508 Bytes

Contents

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

8 entries across 8 versions & 1 rubygems

Version Path
specinfra-2.0.0.beta1 lib/specinfra/helper/os.rb
specinfra-1.9.0 lib/specinfra/helper/os.rb
specinfra-1.8.0 lib/specinfra/helper/os.rb
specinfra-1.7.0 lib/specinfra/helper/os.rb
specinfra-1.6.0 lib/specinfra/helper/os.rb
specinfra-1.5.1 lib/specinfra/helper/os.rb
specinfra-1.5.0 lib/specinfra/helper/os.rb
specinfra-1.4.0 lib/specinfra/helper/os.rb