diff options
| author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-17 22:57:10 +0000 |
|---|---|---|
| committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-17 22:57:10 +0000 |
| commit | 036158baa2b077916917584ebf5d29adecc97f5f (patch) | |
| tree | ad59ac9b81d1734444cada019301b9e9f052ce68 /ext/tk/lib | |
| parent | 80410923af97b32a0673402db2a3dd33c57673aa (diff) | |
| download | ruby-036158baa2b077916917584ebf5d29adecc97f5f.tar.gz ruby-036158baa2b077916917584ebf5d29adecc97f5f.tar.xz ruby-036158baa2b077916917584ebf5d29adecc97f5f.zip | |
* ext/tk/lib/tk.rb: fail to create a widget object for an unknown wiget path.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib')
| -rw-r--r-- | ext/tk/lib/tk.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb index 95c2598cf..f97c02dfa 100644 --- a/ext/tk/lib/tk.rb +++ b/ext/tk/lib/tk.rb @@ -119,7 +119,7 @@ module TkComm classname_def = '' else # ruby_class == nil if Tk.const_defined?(tk_class) - mod.const_get(tk_class) # auto_load + Tk.const_get(tk_class) # auto_load ruby_class = WidgetClassNames[tk_class] end |
