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.5.7 lib/specinfra/helper/os.rb
specinfra-0.5.6 lib/specinfra/helper/os.rb
specinfra-0.5.5 lib/specinfra/helper/os.rb
specinfra-0.5.4 lib/specinfra/helper/os.rb
specinfra-0.5.3 lib/specinfra/helper/os.rb
specinfra-0.5.2 lib/specinfra/helper/os.rb
specinfra-0.5.1 lib/specinfra/helper/os.rb
specinfra-0.5.0 lib/specinfra/helper/os.rb
specinfra-0.4.1 lib/specinfra/helper/os.rb
specinfra-0.4.0 lib/specinfra/helper/os.rb
specinfra-0.3.2 lib/specinfra/helper/os.rb
specinfra-0.3.1 lib/specinfra/helper/os.rb
specinfra-0.3.0 lib/specinfra/helper/os.rb
specinfra-0.2.1 lib/specinfra/helper/os.rb
specinfra-0.2.0 lib/specinfra/helper/os.rb
specinfra-0.1.1 lib/specinfra/helper/os.rb
specinfra-0.1.0 lib/specinfra/helper/os.rb
specinfra-0.0.17 lib/specinfra/helper/os.rb
specinfra-0.0.16 lib/specinfra/helper/os.rb
specinfra-0.0.15 lib/specinfra/helper/os.rb