diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/tk/lib/multi-tk.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/tk/lib/multi-tk.rb b/ext/tk/lib/multi-tk.rb index 4f39874d30..4bc89a8147 100644 --- a/ext/tk/lib/multi-tk.rb +++ b/ext/tk/lib/multi-tk.rb @@ -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 |