]> source.dussan.org Git - redmine.git/commitdiff
code clean up lib/redmine/platform.rb.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 8 Jun 2011 01:21:06 +0000 (01:21 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 8 Jun 2011 01:21:06 +0000 (01:21 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6002 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/platform.rb

index c4d4ac1b9eb7dd59fb0d5d8381c8ac5a5e043038..961bca33c2695bd5f06aeb20fc2a3adc456825a7 100644 (file)
@@ -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