summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-06-08 01:21:06 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-06-08 01:21:06 +0000
commit18229f2f303458d032136d72494a4b1c7b6fbaba (patch)
tree4d640d23deafc334d510f646147d8a7bc65643e7 /lib
parent0d85f269768864423e7dd553452eb98914a0c673 (diff)
downloadredmine-18229f2f303458d032136d72494a4b1c7b6fbaba.tar.gz
redmine-18229f2f303458d032136d72494a4b1c7b6fbaba.zip
code clean up lib/redmine/platform.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6002 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/platform.rb3
1 files changed, 2 insertions, 1 deletions
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