* ext/tk/lib/tkentry.rb: typo fix(!! -> ||).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c0eea52326
commit
4a470051b6
@ -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(' '))
|
||||
|
Loading…
x
Reference in New Issue
Block a user