summaryrefslogtreecommitdiffstats
path: root/ext/tk/lib/tkvirtevent.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-05-24 04:34:26 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-05-24 04:34:26 +0000
commit4ff5e66cd4f6dfa89f81219b194512eefead18bd (patch)
treea7ed03dd3f6442635f694c4367bcd94be57f6dbd /ext/tk/lib/tkvirtevent.rb
parentb2b6240416862f977e69e84d4137ba4a13ab5e27 (diff)
downloadruby-4ff5e66cd4f6dfa89f81219b194512eefead18bd.tar.gz
ruby-4ff5e66cd4f6dfa89f81219b194512eefead18bd.tar.xz
ruby-4ff5e66cd4f6dfa89f81219b194512eefead18bd.zip
2000-05-24
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib/tkvirtevent.rb')
-rw-r--r--ext/tk/lib/tkvirtevent.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/tk/lib/tkvirtevent.rb b/ext/tk/lib/tkvirtevent.rb
index 0d100c218..b31b99062 100644
--- a/ext/tk/lib/tkvirtevent.rb
+++ b/ext/tk/lib/tkvirtevent.rb
@@ -16,7 +16,7 @@ class TkVirtualEvent<TkObject
end
def TkVirtualEvent.info
- tk_call('event', 'info').split(/\s+/).filter{|seq|
+ tk_call('event', 'info').split(/\s+/).collect!{|seq|
TkVirtualEvent.getobj(seq[1..-2])
}
end
@@ -49,8 +49,8 @@ class TkVirtualEvent<TkObject
end
def info
- tk_call('event', 'info', "<#{@id}>").split(/\s+/).filter{|seq|
- l = seq.scan(/<*[^<>]+>*/).filter{|subseq|
+ tk_call('event', 'info', "<#{@id}>").split(/\s+/).collect!{|seq|
+ l = seq.scan(/<*[^<>]+>*/).collect!{|subseq|
case (subseq)
when /^<<[^<>]+>>$/
TkVirtualEvent.getobj(subseq[1..-2])