summaryrefslogtreecommitdiff
path: root/lib/rubygems
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-28 05:26:20 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-28 05:26:20 +0000
commit46247fb35a262b71d193b76ec594c644d6efeabe (patch)
tree5c481e59d553fec45934635ae7193088da24b710 /lib/rubygems
parentd3d44cd9287e47fd84f6a6c7dd9cadb99870e36a (diff)
downloadruby-46247fb35a262b71d193b76ec594c644d6efeabe.tar.gz
* lib/rubygems/user_interaction.rb (Gem::StreamUI#tty?): typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems')
-rw-r--r--lib/rubygems/user_interaction.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/user_interaction.rb b/lib/rubygems/user_interaction.rb
index df51326c01..8024d37287 100644
--- a/lib/rubygems/user_interaction.rb
+++ b/lib/rubygems/user_interaction.rb
@@ -136,7 +136,7 @@ class Gem::StreamUI
end
def tty?
- if RUBY_VERSION > '1.9.3' and RUBY_PLATFORM =~ /mingw|mswin/ then
+ if RUBY_VERSION < '1.9.3' and RUBY_PLATFORM =~ /mingw|mswin/ then
@usetty
else
@usetty && @ins.tty?