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 | cfcebb7e8f41e808b5eec9cadeed287bc40ea18b (patch) | |
tree | a32d1ee37672b48b49c67fd86513a5e31f109db9 /ext/tk | |
parent | 6760a5ed9f693686fa1571850716360c676dc7f5 (diff) | |
download | ruby-cfcebb7e8f41e808b5eec9cadeed287bc40ea18b.tar.gz |
* ext/tk/lib/tk.rb: use $0 as the default application class name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk')
-rw-r--r-- | ext/tk/lib/tk.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb index 6bae4d8f42..a7e63edafc 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) |