From 56408f7abcc35f0c999f8e03fc9014825d2ecb6a Mon Sep 17 00:00:00 2001 From: matz Date: Sat, 26 Jul 2003 05:27:42 +0000 Subject: * ext/tk/lib/tk.rb (TkCore::chooseDirectory): back up wrongly removed method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/tk/lib/tk.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ext') diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb index d33f5d7d7d..aa4d58d6d9 100644 --- a/ext/tk/lib/tk.rb +++ b/ext/tk/lib/tk.rb @@ -960,6 +960,10 @@ module TkCore tk_call 'tk_chooseColor', *hash_kv(keys) end + def chooseDirectory(keys = nil) + tk_call 'tk_chooseDirectory', *hash_kv(keys) + end + def ip_eval(cmd_string) res = INTERP._eval(cmd_string) if INTERP._return_value() != 0 -- cgit v1.2.3