Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Refactor of #unix? method

  • Loading branch information...
commit 2fcc524e91ae66fa251d5bc94075fbdef5fd7421 1 parent c33a48a
@alindeman authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/cocaine/command_line.rb
View
2  lib/cocaine/command_line.rb
@@ -68,7 +68,7 @@ def run
end
def unix?
- (RbConfig::CONFIG['host_os'] =~ /mswin|mingw/).nil?
+ RbConfig::CONFIG['host_os'] !~ /mswin|mingw/
end
private
Please sign in to comment.
Something went wrong with that request. Please try again.