diff options
author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-06-05 14:03:41 +0000 |
---|---|---|
committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-06-05 14:03:41 +0000 |
commit | 80eef0fd3b39a6622ef47819ca06cd2aed703aea (patch) | |
tree | ff13af52a421c5ba2eae219a667a7241ef592986 /ext/tk/sample/tkextlib/tile | |
parent | 8507219097b2ee57bad4b1ad03c7f292ce45ada6 (diff) | |
download | ruby-80eef0fd3b39a6622ef47819ca06cd2aed703aea.tar.gz |
* ext/tk/lib/tk/console.rb: create console when required
* ext/tk/sample/tkextlib/tile/demo.rb: fix TypeError & create Console
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/sample/tkextlib/tile')
-rw-r--r-- | ext/tk/sample/tkextlib/tile/demo.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/tk/sample/tkextlib/tile/demo.rb b/ext/tk/sample/tkextlib/tile/demo.rb index 7851e879cb..ce453bc4b0 100644 --- a/ext/tk/sample/tkextlib/tile/demo.rb +++ b/ext/tk/sample/tkextlib/tile/demo.rb @@ -130,6 +130,7 @@ end # updates the scrollbar's position. # def sbstub(sb, cmd, num, units = 'units') + num = TkComm.number(num) case cmd.to_s when 'moveto' sb.set(num, num+0.5) |