about summary refs log tree commit homepage
path: root/lib/yahns/client_expire_tcpi.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/yahns/client_expire_tcpi.rb')
-rw-r--r--lib/yahns/client_expire_tcpi.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/yahns/client_expire_tcpi.rb b/lib/yahns/client_expire_tcpi.rb
index 8a89a42..4ca901a 100644
--- a/lib/yahns/client_expire_tcpi.rb
+++ b/lib/yahns/client_expire_tcpi.rb
@@ -38,4 +38,4 @@ module Yahns::ClientExpireTCPI # :nodoc:
   end
 # FreeBSD has "struct tcp_info", too, but does not support all the fields
 # Linux does as of FreeBSD 9 (haven't checked FreeBSD 10, yet).
-end if RUBY_PLATFORM =~ /linux/
+end if RUBY_PLATFORM.include?('linux')