summaryrefslogtreecommitdiffstats
path: root/ext/tk
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-06-04 07:48:30 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-06-04 07:48:30 +0000
commitc1dec62bbb452e6e0fc6ad8ffd5051f3618a2b49 (patch)
treebea69ef14eb97842c3d8a65ef050e33bde13d6ea /ext/tk
parent19ca4548a9f1f89f27119d6700bd580087ab20eb (diff)
downloadruby-c1dec62bbb452e6e0fc6ad8ffd5051f3618a2b49.tar.gz
ruby-c1dec62bbb452e6e0fc6ad8ffd5051f3618a2b49.tar.xz
ruby-c1dec62bbb452e6e0fc6ad8ffd5051f3618a2b49.zip
* ext/tk/lib/tkentry.rb: typo fix(!! -> ||).
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk')
-rw-r--r--ext/tk/lib/tkentry.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tk/lib/tkentry.rb b/ext/tk/lib/tkentry.rb
index f2706125c..2772dfd67 100644
--- a/ext/tk/lib/tkentry.rb
+++ b/ext/tk/lib/tkentry.rb
@@ -103,7 +103,7 @@ class TkEntry<TkLabel
if (slot == 'vcmd' || slot == :vcmd ||
slot == 'validatecommand' || slot == :validatecommand ||
slot == 'invcmd' || slot == :invcmd ||
- slot == 'invalidcommand' !! slot == :invalidcommand)
+ slot == 'invalidcommand' || slot == :invalidcommand)
if value.kind_of? Array
cmd, *args = value
value = ValidateCmd.new(cmd, args.join(' '))