diff options
author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-05-30 14:53:52 +0000 |
---|---|---|
committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-05-30 14:53:52 +0000 |
commit | bd47024ab6b8c4ef5760a767e39900b023592082 (patch) | |
tree | 35cc3eaee6606771380cd934689d99ea2e8c3249 /ext/tk/lib/tkextlib/itcl/incr_tcl.rb | |
parent | 99cdce85f290c028191931af7e0544a03feb1e56 (diff) |
* ext/tk/lib/macpkg.rb: add PACKAGE_NAME information of Tcl/Tk Extension.
* ext/tk/lib/tk/msgcat.rb: ditto.
* ext/tk/lib/tk/winpkg.rb: ditto.
* ext/tk/lib/tkextlib/*: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib/tkextlib/itcl/incr_tcl.rb')
-rw-r--r-- | ext/tk/lib/tkextlib/itcl/incr_tcl.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/tk/lib/tkextlib/itcl/incr_tcl.rb b/ext/tk/lib/tkextlib/itcl/incr_tcl.rb index c03f3c36cb..07abf3a7bf 100644 --- a/ext/tk/lib/tkextlib/itcl/incr_tcl.rb +++ b/ext/tk/lib/tkextlib/itcl/incr_tcl.rb @@ -22,6 +22,11 @@ module Tk VERSION = TkCore::INTERP._invoke("set", "::itcl::version").freeze PATCHLEVEL = TkCore::INTERP._invoke("set", "::itcl::patchLevel").freeze + PACKAGE_NAME = 'Itcl'.freeze + def self.package_name + PACKAGE_NAME + end + def self.package_version begin TkPackage.require('Itcl') |