Sha256: 55a1a0dfc771e15b23c0cdc99ab51ec476234a1d640d03ebd3ae6c16b64adada

Contents?: true

Size: 559 Bytes

Versions: 1

Compression:

Stored size: 559 Bytes

Contents

module Specinfra
  module Helper
    [
      'Base',
      'AIX',
      'Arch',
      'Darwin',
      'Debian',
      'Fedora',
      'FreeBSD',
      'FreeBSD10',
      'Gentoo',
      '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

1 entries across 1 versions & 1 rubygems

Version Path
specinfra-2.0.0.beta4 lib/specinfra/helper/os.rb