summaryrefslogtreecommitdiff
path: root/ext/tk/lib/tk.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-09-05 06:54:57 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-09-05 06:54:57 +0000
commit2e2786ccab636dd82de640bd771f2cc9fc20ab31 (patch)
tree0fc0c7632c71d722058b1f6c7ca513d57611086d /ext/tk/lib/tk.rb
parent393f665e33782d4a91813abe599b1b28d675127d (diff)
* re.c (Init_Regexp): to_s to be alias to inspect.
* parse.y (yylex): should support 'keyword='. * ruby.c (proc_options): should not adjust argc/argv if -e option is supplied. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib/tk.rb')
-rw-r--r--ext/tk/lib/tk.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb
index f10e8e23d8..e64a6b3af7 100644
--- a/ext/tk/lib/tk.rb
+++ b/ext/tk/lib/tk.rb
@@ -2233,7 +2233,7 @@ class TkObject<TkKernel
def cget(slot)
case slot
- when 'text', 'label', 'show', 'data', 'flie'
+ when 'text', 'label', 'show', 'data', 'file'
tk_call path, 'cget', "-#{slot}"
else
tk_tcl2ruby tk_call path, 'cget', "-#{slot}"
@@ -2273,7 +2273,7 @@ class TkObject<TkKernel
else
if slot
case slot
- when 'text', 'label', 'show', 'data', 'flie'
+ when 'text', 'label', 'show', 'data', 'file'
conf = tk_split_simplelist(tk_send('configure', "-#{slot}") )
else
conf = tk_split_list(tk_send('configure', "-#{slot}") )
@@ -2285,7 +2285,7 @@ class TkObject<TkKernel
conf = tk_split_simplelist(conflist)
conf[0] = conf[0][1..-1]
case conf[0]
- when 'text', 'label', 'show', 'data', 'flie'
+ when 'text', 'label', 'show', 'data', 'file'
else
if conf[3]
if conf[3].index('{')