Sha256: 98d7bde94533bde1c4ff9903b2b8fbd2316930944e145171830f24355790ac32

Contents?: true

Size: 191 Bytes

Versions: 30

Compression:

Stored size: 191 Bytes

Contents

class Specinfra::Helper::DetectOs::Arch < Specinfra::Helper::DetectOs
  def self.detect
    if File.exist?('/etc/arch-release')
      { :family => 'arch', :release => nil }
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
specinfra-2.5.0 lib/specinfra/helper/detect_os/arch.rb
specinfra-2.4.5 lib/specinfra/helper/detect_os/arch.rb
specinfra-2.4.4 lib/specinfra/helper/detect_os/arch.rb
specinfra-2.4.3 lib/specinfra/helper/detect_os/arch.rb
specinfra-2.4.2 lib/specinfra/helper/detect_os/arch.rb
specinfra-2.4.1 lib/specinfra/helper/detect_os/arch.rb
specinfra-2.4.0 lib/specinfra/helper/detect_os/arch.rb
specinfra-2.3.2 lib/specinfra/helper/detect_os/arch.rb
specinfra-2.3.1 lib/specinfra/helper/detect_os/arch.rb
specinfra-2.3.0 lib/specinfra/helper/detect_os/arch.rb
specinfra-2.2.4 lib/specinfra/helper/detect_os/arch.rb
specinfra-2.2.3 lib/specinfra/helper/detect_os/arch.rb
specinfra-2.2.2 lib/specinfra/helper/detect_os/arch.rb
specinfra-2.2.1 lib/specinfra/helper/detect_os/arch.rb
specinfra-2.2.0 lib/specinfra/helper/detect_os/arch.rb
specinfra-2.1.1 lib/specinfra/helper/detect_os/arch.rb
specinfra-2.1.0 lib/specinfra/helper/detect_os/arch.rb
specinfra-2.0.4 lib/specinfra/helper/detect_os/arch.rb
specinfra-2.0.3 lib/specinfra/helper/detect_os/arch.rb
specinfra-2.0.2 lib/specinfra/helper/detect_os/arch.rb