1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/tk/lib/tk.rb (TkComm::tk_split_list): suppress a warning.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2004-02-12 00:56:24 +00:00
parent 166b3957e0
commit 6531904a1c
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Thu Feb 12 09:56:19 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/tk/lib/tk.rb (TkComm::tk_split_list): suppress a warning.
Thu Feb 12 02:23:56 2004 Tanaka Akira <akr@m17n.org>
* lib/pathname.rb: use assert_raise instead of assert_raises.

View file

@ -139,7 +139,7 @@ module TkComm
list << token.gsub(/^\{(.*)\}$/, '\1') if token
if list.size == 1
tk_tcl2ruby(list[0].gsub(/\\(\{|})/, '\1'))
tk_tcl2ruby(list[0].gsub(/\\(\{|\})/, '\1'))
else
list.collect{|token| tk_split_list(token)}
end