mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/tk/lib/tk.rb: raise an exception when creating TkWindow
object, because TkWindow class is an abstract class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
09306bcead
commit
0fd9439894
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Nov 11 10:42:41 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||
|
||||
* ext/tk/lib/tk.rb: raise an exception when creating TkWindow
|
||||
object, because TkWindow class is an abstract class.
|
||||
|
||||
Tue Nov 11 03:30:43 JST 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
||||
|
||||
* lib/ext/openssl/ossl_conf.c (ossl_config_get_value): return nil
|
||||
|
|
|
@ -3989,6 +3989,7 @@ class TkWindow<TkObject
|
|||
end
|
||||
|
||||
def create_self
|
||||
fail RuntimeError, "TkWindow is an abstract class"
|
||||
end
|
||||
private :create_self
|
||||
|
||||
|
@ -5124,7 +5125,7 @@ end
|
|||
|
||||
class TkTextWin<TkWindow
|
||||
def create_self
|
||||
fail TypeError, "TkTextWin is abstract class"
|
||||
fail RuntimeError, "TkTextWin is an abstract class"
|
||||
end
|
||||
|
||||
def bbox(index)
|
||||
|
|
Loading…
Add table
Reference in a new issue