aboutsummaryrefslogtreecommitdiffstats
path: root/sample/cbreak.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-04-16 13:53:09 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-04-16 13:53:09 +0000
commita8c748d2773b6ce5d871360ee36f7d214ae1af11 (patch)
tree22a03c9fad82514629b36e146db6577fd969e512 /sample/cbreak.rb
parent380ea10dfaf431ab14b92edb7154ccd4cacd159f (diff)
downloadruby-a8c748d2773b6ce5d871360ee36f7d214ae1af11.tar.gz
* sample: replace TRUE, FALSE with true, false respectively.
a patch from Kazuhiro NISHIYAMA <zn at mbf.nifty.com>. [ruby-dev:30713] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample/cbreak.rb')
-rw-r--r--sample/cbreak.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/sample/cbreak.rb b/sample/cbreak.rb
index cbb15d2f41..76b534a76a 100644
--- a/sample/cbreak.rb
+++ b/sample/cbreak.rb
@@ -6,11 +6,11 @@ TIOCGETP = 0x40067408
TIOCSETP = 0x80067409
def cbreak ()
- set_cbreak(TRUE)
+ set_cbreak(true)
end
def cooked ()
- set_cbreak(FALSE)
+ set_cbreak(false)
end
def set_cbreak (on)