1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/tk/lib/multi-tk.rb: cannot access class variable from singleton method.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nagai 2008-06-17 16:53:46 +00:00
parent fcf931c0e5
commit e2f37fb9c6
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,8 @@
Wed Jun 18 01:51:10 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
* ext/tk/lib/multi-tk.rb: cannot access class variable from
singleton method.
Wed Jun 18 00:03:33 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* dir.c (Init_Dir): dir_foreach() takes variable argument.

View file

@ -2214,11 +2214,12 @@ end
# event loop
# all master/slave IPs are controled by only one event-loop
class << MultiTkIp
def default_master?
class MultiTkIp
def self.default_master?
__getip == @@DEFAULT_MASTER
end
end
class << MultiTkIp
def mainloop(check_root = true)
__getip.mainloop(check_root)
end