ruby-changes:12398
From: nagai <ko1@a...>
Date: Tue, 14 Jul 2009 08:11:49 +0900 (JST)
Subject: [ruby-changes:12398] Ruby:r24097 (trunk): * ext/tk/lib/tk/menuspec.rb: commit miss on my last commitment.
nagai 2009-07-14 08:11:34 +0900 (Tue, 14 Jul 2009) New Revision: 24097 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24097 Log: * ext/tk/lib/tk/menuspec.rb: commit miss on my last commitment. Modified files: trunk/ext/tk/lib/tk/menuspec.rb Index: ext/tk/lib/tk/menuspec.rb =================================================================== --- ext/tk/lib/tk/menuspec.rb (revision 24096) +++ ext/tk/lib/tk/menuspec.rb (revision 24097) @@ -279,7 +279,7 @@ end end - keys = default_opts.dup + keys = (default_opts)? default_opts.dup: {} tearoff = keys.delete('tearoff') if keys.key?('tearoff') tearoff = false unless tearoff # nil --> false -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/