diff options
| author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-13 07:52:03 +0000 |
|---|---|---|
| committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-13 07:52:03 +0000 |
| commit | 1fb71c92e4f2e48014345b496ed70df3c3e6345c (patch) | |
| tree | a32d1ee37672b48b49c67fd86513a5e31f109db9 | |
| parent | c043fe6db4b8b9745466b99976371f568af70dbf (diff) | |
| download | ruby-1fb71c92e4f2e48014345b496ed70df3c3e6345c.tar.gz ruby-1fb71c92e4f2e48014345b496ed70df3c3e6345c.tar.xz ruby-1fb71c92e4f2e48014345b496ed70df3c3e6345c.zip | |
* ext/tk/lib/tk.rb: use $0 as the default application class name.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | ext/tk/lib/tk.rb | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Tue Jan 13 16:50:03 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> + + * ext/tk/lib/tk.rb: use $0 as the default application class name. + Tue Jan 13 14:48:01 2004 Yukihiro Matsumoto <matz@ruby-lang.org> * parse.y (primary): allow no "when" case. [ruby-dev:22578] diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb index 6bae4d8f4..a7e63edaf 100644 --- a/ext/tk/lib/tk.rb +++ b/ext/tk/lib/tk.rb @@ -662,7 +662,8 @@ module TkCore if self.const_defined? :IP_NAME name = IP_NAME.to_s else - name = nil + #name = nil + name = $0 end if self.const_defined? :IP_OPTS if IP_OPTS.kind_of?(Hash) |
