diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-12 00:56:24 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-12 00:56:24 +0000 |
commit | 6531904a1c6eeb092da7d7f2f4b6a559b1edd6f6 (patch) | |
tree | a9b92c88ca990a228edde821ac2c0680122466f2 /ext/tk/lib | |
parent | 166b3957e08dd5f6c3221268a6df97212be4f53d (diff) | |
download | ruby-6531904a1c6eeb092da7d7f2f4b6a559b1edd6f6.tar.gz |
* 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
Diffstat (limited to 'ext/tk/lib')
-rw-r--r-- | ext/tk/lib/tk.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb index e6b4459a5a..f41763614f 100644 --- a/ext/tk/lib/tk.rb +++ b/ext/tk/lib/tk.rb @@ -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 |