From 5a80f0c530f267a5eeab9d8053784c581a4efa9c Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 9 Aug 2016 01:42:48 +0000 Subject: use true and false [ci skip] * ext/tk/lib/tk/texttag.rb, ext/tk/sample/tcltklib/sample2.rb, ext/tk/sample/tkline.rb, ext/tk/sample/tktimer.rb: use true and false instead of TRUE and FALSE. * ext/win32ole/sample/ienavi.rb (stop_msg_loop): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/tk/lib/tk/texttag.rb | 2 +- ext/tk/sample/tcltklib/sample2.rb | 14 +++++++------- ext/tk/sample/tkline.rb | 4 ++-- ext/tk/sample/tktimer.rb | 6 +++--- ext/win32ole/sample/ienavi.rb | 2 +- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/ext/tk/lib/tk/texttag.rb b/ext/tk/lib/tk/texttag.rb index 9f11c6539b..a909596b35 100644 --- a/ext/tk/lib/tk/texttag.rb +++ b/ext/tk/lib/tk/texttag.rb @@ -175,7 +175,7 @@ class TkTextTag'right','fill'=>'both','expand'=>'yes') } $seconds=0 $hundredths=0 -$stopped=TRUE +$stopped=true def tick if $stopped then return end diff --git a/ext/win32ole/sample/ienavi.rb b/ext/win32ole/sample/ienavi.rb index 4f37541663..5d0536028b 100644 --- a/ext/win32ole/sample/ienavi.rb +++ b/ext/win32ole/sample/ienavi.rb @@ -9,7 +9,7 @@ end def stop_msg_loop puts "Now Stop IE..." - $LOOP = FALSE; + $LOOP = false; end def default_handler(event, *args) -- cgit v1.2.3