mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
d3d44cd928
commit
46247fb35a
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Thu Jul 28 14:25:08 2011 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* lib/rubygems/user_interaction.rb (Gem::StreamUI#tty?): typo.
|
||||
|
||||
Thu Jul 28 12:32:53 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ext/dl/callback/mkcallback.rb (gencallback): use PTR2NUM.
|
||||
|
|
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue