Sha256: c72b46487682233442e23dd3917c469d2a63d146ee7b12ecc422626df541d803

Contents?: true

Size: 262 Bytes

Versions: 15

Compression:

Stored size: 262 Bytes

Contents

def darwin?
  RbConfig::CONFIG['target_os'] =~ /darwin/i
end

def linux?
  RbConfig::CONFIG['target_os'] =~ /linux/i
end

def bsd?
  RbConfig::CONFIG['target_os'] =~ /bsd|dragonfly/i
end

def windows?
  RbConfig::CONFIG['target_os'] =~ /mswin|mingw|cygwin/i
end

Version data entries

15 entries across 13 versions & 3 rubygems

Version Path
honeybadger-2.4.0 vendor/gems/ruby/1.9.1/gems/listen-2.7.9/spec/support/platform_helper.rb
honeybadger-2.4.0 vendor/gems/ruby/2.2.0/gems/listen-2.7.9/spec/support/platform_helper.rb
honeybadger-2.4.0 vendor/gems/ruby/2.1.0/gems/listen-2.7.9/spec/support/platform_helper.rb
listen-2.8.4 spec/support/platform_helper.rb
listen-2.8.3 spec/support/platform_helper.rb
listen-2.8.2 spec/support/platform_helper.rb
listen-2.8.1 spec/support/platform_helper.rb
listen-2.8.0 spec/support/platform_helper.rb
listen-2.7.12 spec/support/platform_helper.rb
listen-2.7.11 spec/support/platform_helper.rb
vagrant-tiktalik-0.0.3 vendor/bundle/ruby/2.0.0/gems/listen-2.7.9/spec/support/platform_helper.rb
listen-2.7.9 spec/support/platform_helper.rb
listen-2.7.8 spec/support/platform_helper.rb
listen-2.7.7 spec/support/platform_helper.rb
listen-2.7.6 spec/support/platform_helper.rb