From 18229f2f303458d032136d72494a4b1c7b6fbaba Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 8 Jun 2011 01:21:06 +0000 Subject: [PATCH] code clean up lib/redmine/platform.rb. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6002 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/platform.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/redmine/platform.rb b/lib/redmine/platform.rb index c4d4ac1b9..961bca33c 100644 --- a/lib/redmine/platform.rb +++ b/lib/redmine/platform.rb @@ -19,7 +19,8 @@ module Redmine module Platform class << self def mswin? - (RUBY_PLATFORM =~ /(:?mswin|mingw)/) || (RUBY_PLATFORM == 'java' && (ENV['OS'] || ENV['os']) =~ /windows/i) + (RUBY_PLATFORM =~ /(:?mswin|mingw)/) || + (RUBY_PLATFORM == 'java' && (ENV['OS'] || ENV['os']) =~ /windows/i) end end end