summaryrefslogtreecommitdiff
path: root/ext/tk/lib/tk/macpkg.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tk/lib/tk/macpkg.rb')
-rw-r--r--ext/tk/lib/tk/macpkg.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/tk/lib/tk/macpkg.rb b/ext/tk/lib/tk/macpkg.rb
index d67a19745b..1802073f46 100644
--- a/ext/tk/lib/tk/macpkg.rb
+++ b/ext/tk/lib/tk/macpkg.rb
@@ -26,6 +26,11 @@ module TkMacResource
TkCommandNames = ['resource'.freeze].freeze
+ PACKAGE_NAME = 'resource'.freeze
+ def self.package_name
+ PACKAGE_NAME
+ end
+
tk_call_without_enc('package', 'require', 'resource')
def close(rsrcRef)